Expose the activated signal into the plasmoid

This was a regression from Plasma 1.

Reviewed by David Edmundson
This commit is contained in:
Aleix Pol 2014-04-12 21:21:35 +02:00
parent 9a305de76d
commit 0e3978e22c
2 changed files with 7 additions and 0 deletions

View File

@ -71,6 +71,8 @@ AppletInterface::AppletInterface(DeclarativeAppletScript *script, QQuickItem *pa
connect(applet(), &Plasma::Applet::statusChanged,
this, &AppletInterface::statusChanged);
connect(applet(), &Plasma::Applet::activated,
this, &AppletInterface::activated);
connect(appletScript(), &DeclarativeAppletScript::formFactorChanged,
this, &AppletInterface::formFactorChanged);

View File

@ -287,6 +287,11 @@ Q_SIGNALS:
void configNeedsSaving();
/**
* Emitted when the applet's activation action is triggered
*/
void activated();
//PROPERTY change notifiers--------------
void iconChanged();