Of course. For example, we have the following connect :
connect(_vuePalette, SIGNAL(paletteModifiee(Pointeur<LUT>, Pointeur<Fonction>, TypeValeurVue, bool)), this, SLOT(paletteModifiee_SLOT(Pointeur<LUT>, Pointeur<Fonction>, TypeValeurVue, bool)));
connect(_vuePalette, SIGNAL(paletteModifiee(Pointeur<LUT>, Pointeur<Fonction>, TypeValeurVue, bool)), this, SLOT(paletteModifiee_SLOT(Pointeur<LUT>, Pointeur<Fonction>, TypeValeurVue, bool)));
To copy to clipboard, switch view to plain text mode
The message generated at runtime is :
QObject::connect: No such signal VuePalette::paletteModifiee(Pointeur<LUT>, Pointeur<Fonction>, TypeValeurVue, bool) in vueimage.cpp:83
(sender name: 'VuePalette')
_vuePalette refers to a class "VuePalette" wich is derived from QWidget and which contains the Q_OBJECT macro, and this refers to a class named "VueImage" which is derived from multiple classes derived from QObject, and "VueImage" contains the Q_OBJECT macro too.
The signal and the slot are respectively defined in the "signals" section of class "VuePalette" and in the "public slots" section of class "VueImage".
Thanks for your help.
Bookmarks