get rid of Containment::clearApplets()
This commit is contained in:
parent
87cbad5565
commit
94720b0cb4
@ -409,15 +409,6 @@ void Containment::setLocation(Location location)
|
|||||||
emit configNeedsSaving();
|
emit configNeedsSaving();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Containment::clearApplets()
|
|
||||||
{
|
|
||||||
foreach (Applet *applet, d->applets) {
|
|
||||||
applet->d->cleanUpAndDelete();
|
|
||||||
}
|
|
||||||
|
|
||||||
d->applets.clear();
|
|
||||||
}
|
|
||||||
|
|
||||||
Applet *Containment::addApplet(const QString &name, const QVariantList &args)
|
Applet *Containment::addApplet(const QString &name, const QVariantList &args)
|
||||||
{
|
{
|
||||||
return d->addApplet(name, args);
|
return d->addApplet(name, args);
|
||||||
|
@ -212,11 +212,6 @@ class PLASMA_EXPORT Containment : public Applet
|
|||||||
*/
|
*/
|
||||||
QList<Applet *> applets() const;
|
QList<Applet *> applets() const;
|
||||||
|
|
||||||
/**
|
|
||||||
* Removes all applets from this Containment
|
|
||||||
*/
|
|
||||||
void clearApplets();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the physical screen this Containment is associated with.
|
* Sets the physical screen this Containment is associated with.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user