Compound of the formula in which A is -C(R6 A R 6B) -* or _C (R 6A R 6B _C(R 7A R 7 B) -*, where * is the attachment site to R 3, R 6A is hydrogen or trifluoromethyl, R 6B is hydrogen, R 7A is hydrogen, R 7B is hydrogen, Q is N, R 1 is (C 2 -C 4) alkyl, (C 2 -C 4) alkenyl or cyclopropyl, where (C 2 -C 4) alkyl and (C 2 -C 4) alkenyl may be substituted by 1 or 2 substituents independently of one another selected from the group consisting of fluorine, oxo, hydroxyl and trifluoromethyl, R 2 is phenyl, where phenyl may be substituted by a substituent selected from the group consisting of fluorine or chlorine, R 3 is amino, -NR 8 -C (=O) -R9, -NR 10 -SO 2 -R 11, -SO 2 -NR 12 R 13, -O-C (=O) -NR 14 R 15, -NR 16 -C (=O) -NR 17 R 18, -NR 19 -C (=O) -OR 20, -S (=O) n R 21 or -NR 26 -SO 2 -NR 27 R 28 -, where R 8 is hydrogen, R 9 is methyl, R 10 is hydrogen, R 11 is methyl or ethyl, R 12 is methyl, R 13 is methyl, R 14 is hydrogen or methyl, R 15 is hydrogen, methyl or ethyl, R 16 is hydrogen, R 17 is hydrogen or methyl, R 18 is hydrogen, methyl or ethyl, or R 16 and R 17 together with the nitrogen atoms to which they are attached form a 2-oxoimidazolidin-1-yl or a 2-oxotetrahydropyrimidin-1 -yl ring, R 19 is hydrogen, R 20 is methyl or ethyl, or R 19 and R 20 together with the atoms to which they are attached form a 2-oxo-1,3-oxazolidin-3-yl or 2-oxo-1,3-oxazinan-3-yl ring, n is 0 or 2, R 21 is methyl, R 26 is hydrogen, R 27 is hydrogen, R 28 is hydrogen, R 4 is a group of the formula where # is the attachment site to -C(R 5) (AR 3) N-, R 22 is hydrogen, cyano, methyl, trifluoromethoxy, fluorine, chlorine, trifluoromethyl and methoxy, R 23 is hydrogen, cyano, methyl, trifluoromethoxy, fluorine, chlorine, trifluoromethyl and methoxy, where at least one of the radicals R22 and R23 is other than hydrogen, R 5 is hydrogen or methyl, R 29 is hydrogen, and also their salts, solvates, and solvates of the salts. A is -C(R6 A R 6B) -* or _C (R 6A R 6B _C(R 7A R 7 B) -*, where * is the attachment site to R 3, R 6A is hydrogen or trifluoromethyl, R 6B is hydrogen, R 7A is hydrogen, R 7B is hydrogen, Q is N, * is the attachment site to R 3, R 6A is hydrogen or trifluoromethyl, R 6B is hydrogen, R 7A is hydrogen, R 7B is hydrogen, Q is N, R 1 is (C 2 -C 4) alkyl, (C 2 -C 4) alkenyl or cyclopropyl, where (C 2 -C 4) alkyl and (C 2 -C 4) alkenyl may be substituted by 1 or 2 substituents independently of one another selected from the group consisting of fluorine, oxo, hydroxyl and trifluoromethyl, R 2 is phenyl, where phenyl may be substituted by a substituent selected from the group consisting of fluorine or chlorine, R 3 is amino, -NR 8 -C (=O) -R9, -NR 10 -SO 2 -R 11, -SO 2 -NR 12 R 13, -O-C (=O) -NR 14 R 15, -NR 16 -C (=O) -NR 17 R 18, -NR 19 -C (=O) -OR 20, -S (=O) n R 21 or -NR 26 -SO 2 -NR 27 R 28 -, where R 8 is hydrogen, R 9 is methyl, R 10 is hydrogen, R 11 is methyl or ethyl, R 12 is methyl, R 13 is methyl, R 14 is hydrogen or methyl, R 15 is hydrogen, methyl or ethyl, R 16 is hydrogen, R 17 is hydrogen or methyl, R 18 is hydrogen, methyl or ethyl, or R 16 and R 17 together with the nitrogen atoms to which they are attached form a 2-oxoimidazolidin-1-yl or a 2-oxotetrahydropyrimidin-1 -yl ring, R 19 is hydrogen, R 20 is methyl or ethyl, or R 19 and R 20 together with the atoms to which they are attached form a 2-oxo-1,3-oxazolidin-3-yl or 2-oxo-1,3-oxazinan-3-yl ring, n is 0 or 2, R 21 is methyl, R 26 is hydrogen, R 27 is hydrogen, R 28 is hydrogen, R 8 is hydrogen, R 9 is methyl, R 10 is hydrogen, R 11 is methyl or ethyl, R 12 is methyl, R 13 is methyl, R 14 is hydrogen or methyl, R 15 is hydrogen, methyl or ethyl, R 16 is hydrogen, R 17 is hydrogen or methyl, R 18 is hydrogen, methyl or ethyl, R 16 and R 17 together with the nitrogen atoms to which they are attached form a 2-oxoimidazolidin-1-yl or a 2-oxotetrahydropyrimidin-1 -yl ring, R 19 is hydrogen, R 20 is methyl or ethyl, R 19 and R 20 together with the atoms to which they are attached form a 2-oxo-1,3-oxazolidin-3-yl or 2-oxo-1,3-oxazinan-3-yl ring, n is 0 or 2, R 21 is methyl, R 26 is hydrogen, R 27 is hydrogen, R 28 is hydrogen, R 4 is a group of the formula where # is the attachment site to -C(R 5) (AR 3) N-, R 22 is hydrogen, cyano, methyl, trifluoromethoxy, fluorine, chlorine, trifluoromethyl and methoxy, R 23 is hydrogen, cyano, methyl, trifluoromethoxy, fluorine, chlorine, trifluoromethyl and methoxy, where at least one of the radicals R22 and R23 is other than hydrogen, # is the attachment site to -C(R 5) (AR 3) N-, R 22 is hydrogen, cyano, methyl, trifluoromethoxy, fluorine, chlorine, trifluoromethyl and methoxy, R 23 is hydrogen, cyano, methyl, trifluoromethoxy, fluorine, chlorine, trifluoromethyl and methoxy, R 5 is hydrogen or methyl, R 29 is hydrogen,