remove relkeaseVisualFocus, was unused and not belonging to Applet

anymore
This commit is contained in:
Marco Martin 2013-08-08 13:37:36 +02:00
parent fcad129997
commit 0ed6b09e85
3 changed files with 0 additions and 11 deletions

View File

@ -385,15 +385,6 @@ class PLASMA_EXPORT Applet : public QObject
void activate();
//Completely UI-specific, remove or move to scriptengine
/**
* This signal indicates that an application launch, window
* creation or window focus event was triggered. This is used, for instance,
* to ensure that the Dashboard view in Plasma Desktop hides when such an event is
* triggered by an item it is displaying.
*/
void releaseVisualFocus();
//TODO: fix usage in containment, port to QObject::destroyed
/**
* Emitted when the applet is deleted

View File

@ -394,7 +394,6 @@ void Containment::addApplet(Applet *applet)
d->applets << applet;
connect(applet, SIGNAL(configNeedsSaving()), this, SIGNAL(configNeedsSaving()));
connect(applet, SIGNAL(releaseVisualFocus()), this, SIGNAL(releaseVisualFocus()));
connect(applet, SIGNAL(appletDeleted(Plasma::Applet*)), this, SLOT(appletDeleted(Plasma::Applet*)));
connect(applet, SIGNAL(statusChanged(Plasma::Types::ItemStatus)), this, SLOT(checkStatus(Plasma::Types::ItemStatus)));
connect(applet, SIGNAL(activate()), this, SIGNAL(activate()));

View File

@ -63,7 +63,6 @@ AppletInterface::AppletInterface(DeclarativeAppletScript *script, QQuickItem *pa
qmlRegisterType<AppletInterface>();
qmlRegisterType<QAction>();
connect(this, SIGNAL(releaseVisualFocus()), applet(), SIGNAL(releaseVisualFocus()));
connect(this, SIGNAL(configNeedsSaving()), applet(), SIGNAL(configNeedsSaving()));
connect(applet(), SIGNAL(immutabilityChanged(Plasma::Types::ImmutabilityType)), this, SIGNAL(immutableChanged()));
connect(applet(), SIGNAL(statusChanged(Plasma::Types::ItemStatus)), this, SIGNAL(statusChanged()));