The present invention is directed to novel quinolines and quniazolines, their derivatives, pharmaceutically acceptable salts, solvates and hydrates thereof which are useful for the treatment of protein kinases mediated diseases and conditions. The compounds of this invention have a general Formula (I) wherein R1 to R11 and X are defined herein.