Make sure you are using Q_OBJECT in your header file and then the correct syntax for slots is the signature of the slot:Qt Code:
To copy to clipboard, switch view to plain text mode
But then I guess you cant achieve what you want, so have a look at QSignalMapper or use sender() in your slot.
Bookmarks