Patent ID: 7795250

Claim:
A compound of the formula (Ia) or a pharmaceutically acceptable salt thereof: wherein: Q 1 is halogen, hydroxy, C 1-4 alkyl, C 1-4 alkoxy, aryl, heteroaryl, CONR a R b , C n H 2n NR a R b , —O—(CH 2 ) 2-4 R a R b , —O—C n H 2n CONR a R b , —O—C n H 2n aryl, —O—C n H 2n heteroaryl, or —O—CHR c R d ; R a and R b are each independently selected from hydrogen, C 1-4 -alkyl or C(O)C 1-4 alkyl; or R a , R b and the nitrogen atom to which they are attached form a heteroaliphatic ring of 4 to 7 ring atoms, where said ring is optionally substituted by halogen, hydroxy, C 1-4 alkyl or C 1-4 alkoxy; n is 0, 1, 2 or 3; R c and R d are each independently selected from hydrogen or C 1-4 alkoxy; or R c and R d are linked by a heteroatom selected from N, O or S to form a heteroaliphatic ring of 4 to 7 ring atoms, where said ring is optionally substituted by halogen, hydroxy, C 1-4 alkyl or C 1-4 alkoxy; and wherein said C 1-4 alkyl, C 1-4 alkoxy and aryl groups are optionally substituted by halogen or hydroxy; R 1 and R 2 are each independently selected from hydrogen, C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 1-4 alkoxy, C 3-8 cycloalkylC 1-4 alkyl, or (CH 2 ) 0-3 R j ; R j is aryl, heteroaryl, NR e R f or Het; Het is a heteroaliphatic ring of 4 to 7 ring atoms, which ring may contain 1, 2 or 3 heteroatoms selected from N, O or S or a group selected from S(O), S(O) 2 , NH or NC 1-4 alkyl; R e and R f are each independently selected from hydrogen, C 1-4 alkyl or C(O)C 1-4 alkyl; or R e , R f and the nitrogen atom to which they are attached form a heteroaliphatic ring of 4 to 7 ring atoms; and R 1 and R 2 are optionally substituted by hydroxy, C 1-4 alkyl, ═O, C(O)C 1-4 alkyl or C 3-8 cycloalkyl; or R 1 , R 2 and the nitrogen atom to which they are attached form a heteroaliphatic ring of 4 to 7 ring atoms, which ring optionally contains 1, 2 or 3 additional heteroatoms selected from O or S or a group selected from S(O), S(O) 2 , NH or NR g , where R g is C 1-4 alkyl or heteroaryl, or said heteroaliphatic ring is fused to or substituted by a five- or six-membered nitrogen-containing heteroaliphatic ring, which heteroaliphatic ring is optionally spiro-fused and is optionally substituted by hydroxy, C 1-4 alkyl, C 1-4 alkoxy, (CH 2 ) 0-3 NR h R i , aryl, heteroaryl, or a —CH 2 — or —CH 2 CH 2 — alkylene bridge, where aryl and heteroaryl are optionally substituted by hydroxy, C 1-4 alkyl or C 1-4 alkoxy; R h and R i are each independently selected from hydrogen, C 1-4 alkyl or C(O)C 1-4 alkyl, or R h , R i and the nitrogen atom to which they are attached form a heteroaliphatic ring of 4 to 7 ring atoms optionally substituted by C 1-4 alkyl; and X is