remove dead code

This commit is contained in:
Marco Martin 2013-12-23 14:27:22 +01:00
parent a3a9dff4a2
commit fba45d9360
2 changed files with 0 additions and 16 deletions

View File

@ -84,9 +84,6 @@ bool DeclarativeAppletScript::init()
// set the graphicObject dynamic property on applet
a->setProperty("graphicObject", QVariant::fromValue(m_interface));
connect(applet(), &Plasma::Applet::activate,
this, &DeclarativeAppletScript::activate);
return true;
}
@ -110,18 +107,6 @@ void DeclarativeAppletScript::constraintsEvent(Plasma::Types::Constraints constr
}
}
void DeclarativeAppletScript::activate()
{
#if 0
TODO: callEventListeners is broken without qscriptengine
if (!m_env) {
return;
}
m_env->callEventListeners("activate");
#endif
}
void DeclarativeAppletScript::executeAction(const QString &name)
{
if (m_interface->qmlObject()->rootObject()) {

View File

@ -46,7 +46,6 @@ public:
public Q_SLOTS:
void executeAction(const QString &name);
void activate();
protected:
bool init();