appletRemoved signal to create symetry with appletAdded. had two people ask about this already.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=747104
This commit is contained in:
parent
ce8d1ede68
commit
616675be80
@ -455,6 +455,7 @@ void Containment::appletDestroyed(QObject* object)
|
||||
// so this unsafe looking code is actually just fine.
|
||||
Applet* applet = static_cast<Plasma::Applet*>(object);
|
||||
d->applets.removeAll(applet);
|
||||
emit appletRemoved(applet);
|
||||
}
|
||||
|
||||
void Containment::appletAnimationComplete(QGraphicsItem *item, Plasma::Phase::Animation anim)
|
||||
|
@ -233,6 +233,11 @@ class PLASMA_EXPORT Containment : public Applet
|
||||
*/
|
||||
void appletAdded(Plasma::Applet* applet);
|
||||
|
||||
/**
|
||||
* This signal is emitted when an applet is destroyed
|
||||
*/
|
||||
void appletRemoved(Plasma::Applet* applet);
|
||||
|
||||
/**
|
||||
* This signal indicates, that a application launch was triggered
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user