get rid of Containment::clearApplets()

This commit is contained in:
Marco Martin 2013-02-18 17:50:15 +01:00
parent 87cbad5565
commit 94720b0cb4
2 changed files with 0 additions and 14 deletions

View File

@ -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);

View File

@ -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.
* *