The present invention relates to compounds of general formula (I), wherein R1, LP, LQ, (Het)Ar, m and n are as defined in the application, which have valuable pharmacological properties, and in particular bind to the GPR1 19 receptor and modulate its activity.