Plasma/libplasma2/fullyqualifiedtype

From KDE Community Wiki
Revision as of 13:47, 22 September 2012 by Afiestas (talk | contribs) (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 ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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