Plasma/libplasma2/fullyqualifiedtype

Jump to: navigation, search

Discussion

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 modified on 22 September 2012, at 13:47. Content is available under Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2 unless otherwise noted.