Compounds of formula (I): wherein R1, R2, R3, R4, R5, Z and n have defined meanings, the N-oxide forms, the pharmaceutically acceptable addition salts, the quaternary ammonium salts and the stereochemically isomeric forms thereof, and their use for the treatment of PARP-mediated disorders.