[AppletInterface] Emit change signals for configurationRequired and -Reason
Differential Revision: https://phabricator.kde.org/D9066
This commit is contained in:
parent
b6b81c67b3
commit
fa3a389925
@ -93,6 +93,14 @@ AppletInterface::AppletInterface(DeclarativeAppletScript *script, const QVariant
|
|||||||
connect(applet(), &Plasma::Applet::busyChanged,
|
connect(applet(), &Plasma::Applet::busyChanged,
|
||||||
this, &AppletInterface::busyChanged);
|
this, &AppletInterface::busyChanged);
|
||||||
|
|
||||||
|
connect(applet(), &Plasma::Applet::configurationRequiredChanged, this,
|
||||||
|
[this](bool configurationRequired, const QString &reason) {
|
||||||
|
Q_UNUSED(configurationRequired);
|
||||||
|
Q_UNUSED(reason);
|
||||||
|
emit configurationRequiredChanged();
|
||||||
|
emit configurationRequiredReasonChanged();
|
||||||
|
});
|
||||||
|
|
||||||
connect(applet(), &Plasma::Applet::activated,
|
connect(applet(), &Plasma::Applet::activated,
|
||||||
this, &AppletInterface::activated);
|
this, &AppletInterface::activated);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user