From ef4c4b47d17468f23321c7ed0e839de21c057b6c Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 9 Aug 2012 15:43:30 +0200 Subject: [PATCH] emit the location, formfactor and context signals --- scriptengines/javascript/plasmoid/appletinterface.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scriptengines/javascript/plasmoid/appletinterface.cpp b/scriptengines/javascript/plasmoid/appletinterface.cpp index 94819e9aa..c31bd0ad1 100644 --- a/scriptengines/javascript/plasmoid/appletinterface.cpp +++ b/scriptengines/javascript/plasmoid/appletinterface.cpp @@ -51,6 +51,12 @@ AppletInterface::AppletInterface(AbstractJsAppletScript *parent) connect(this, SIGNAL(configNeedsSaving()), applet(), SIGNAL(configNeedsSaving())); connect(applet(), SIGNAL(immutabilityChanged(Plasma::ImmutabilityType)), this, SIGNAL(immutableChanged())); connect(applet(), SIGNAL(newStatus(Plasma::ItemStatus)), this, SIGNAL(statusChanged())); + connect(m_appletScriptEngine, SIGNAL(formFactorChanged()), + this, SIGNAL(formFactorChanged())); + connect(m_appletScriptEngine, SIGNAL(locationChanged()), + this, SIGNAL(locationChanged())); + connect(m_appletScriptEngine, SIGNAL(contextChanged()), + this, SIGNAL(contextChanged())); } AppletInterface::~AppletInterface()