The present invention relates to compounds of formula I or pharmaceutically acceptable salts thereof: wherein R1, R2, R3, A, Q, W and X are as defined in the description. These compounds selectively modulate, regulate, and/or inhibit signal transduction mediated by certain native and/or mutant proteine kinases implicated in a variety of human and animal diseases such as cell proliferative, metabolic, allergic, and degenerative disorders. More particularly, these compounds are potent and selective native and/or mutant c-kit inhibitors.本發明係關於式I化合物或其醫藥上可接受之鹽:其中R1、R2、R3、A、Q、W及X係如說明書中所定義。該等化合物選擇性調節、調控及/或抑制藉由某些天然及/或突變蛋白質激酶調介之信號轉導,該等天然及/或突變蛋白質激酶與各種人類及動物疾病(例如細胞增殖、代謝、過敏及退化病症)有關。更特定而言,該等化合物係強效及選擇性天然及/或突變c-kit抑制劑。