Plasma/libplasma2/fullyqualifiedtype: Difference between revisions

From KDE Community Wiki
(Created page with "== 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 ...")
 
(No difference)

Latest revision as of 13:47, 22 September 2012

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);