appletAdded signal
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=734727
This commit is contained in:
parent
0febb9ad15
commit
bcf898ca7b
@ -357,6 +357,7 @@ Applet* Containment::addApplet(const QString& name, const QVariantList& args, ui
|
|||||||
this, SLOT(appletDestroyed(QObject*)));
|
this, SLOT(appletDestroyed(QObject*)));
|
||||||
Phase::self()->animateItem(applet, Phase::Appear);
|
Phase::self()->animateItem(applet, Phase::Appear);
|
||||||
|
|
||||||
|
emit appletAdded(applet);
|
||||||
return applet;
|
return applet;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -199,6 +199,12 @@ class PLASMA_EXPORT Containment : public Applet
|
|||||||
*/
|
*/
|
||||||
QSizeF contentSizeHint() const;
|
QSizeF contentSizeHint() const;
|
||||||
|
|
||||||
|
Q_SIGNALS:
|
||||||
|
/**
|
||||||
|
* This signal is emitted when a new applet is created by the containment
|
||||||
|
*/
|
||||||
|
void appletAdded(Plasma::Applet* applet);
|
||||||
|
|
||||||
public Q_SLOTS:
|
public Q_SLOTS:
|
||||||
/**
|
/**
|
||||||
* Informs the Corona as to what position it is in. This is informational
|
* Informs the Corona as to what position it is in. This is informational
|
||||||
|
Loading…
Reference in New Issue
Block a user