Applet has a signal void messageButtonPressed(const MessageButton button). Since moc does a string comparison in connect, trying to connect it to a slot that takes "Plasma::MessageButton" will not work because "MessageButton" != "Plasma::MessageButton"

Proposed Solution

Change it to messageButtonPressed(const Plasma::MessageButton button);

This page was last edited on 22 September 2012, at 13:47. Content is available under Creative Commons License SA 4.0 unless otherwise noted.