This invention comprises the novel compounds of formula (I) wherein n, m, t, R1, R2, R3, R4, R5, L, Q, X, Y and have defined meanings, having histone deacetylase inhibiting enzymatic activity; their preparation, compositions containing them and their use as a medicine.