Given that the method signature is e.g.,
void theSlot(int);
void theSlot(int);
To copy to clipboard, switch view to plain text mode
then the type is,
void (TheReceiverClass::*)(int)
void (TheReceiverClass::*)(int)
To copy to clipboard, switch view to plain text mode
I suggest you typedef this like,
void (TheReceiverClass::*MyTypeDef)(int);
void (TheReceiverClass::*MyTypeDef)(int);
To copy to clipboard, switch view to plain text mode
making your addAction look like,
addAction
(string,
QObject*, MyTypeDef
);
addAction(string, QObject*, MyTypeDef);
To copy to clipboard, switch view to plain text mode
Bookmarks