get rid of Applet::List and Applet::Dict types

This commit is contained in:
Marco Martin 2013-02-12 11:02:22 +01:00
parent 54adc7dce6
commit 0a623684c0
4 changed files with 3 additions and 6 deletions

View File

@ -72,9 +72,6 @@ class PLASMA_EXPORT Applet : public QObject
Q_OBJECT Q_OBJECT
public: public:
typedef QList<Applet*> List;
typedef QHash<QString, Applet*> Dict;
//CONSTRUCTORS //CONSTRUCTORS
/** /**
* @param parent the QObject this applet is parented to * @param parent the QObject this applet is parented to

View File

@ -566,7 +566,7 @@ void Containment::addApplet(Applet *applet, const QPointF &pos)
applet->d->scheduleModificationNotification(); applet->d->scheduleModificationNotification();
} }
Applet::List Containment::applets() const QList<Applet *> Containment::applets() const
{ {
return d->applets; return d->applets;
} }

View File

@ -211,7 +211,7 @@ class PLASMA_EXPORT Containment : public Applet
/** /**
* @return the applets currently in this Containment * @return the applets currently in this Containment
*/ */
Applet::List applets() const; QList<Applet *> applets() const;
/** /**
* Removes all applets from this Containment * Removes all applets from this Containment

View File

@ -125,7 +125,7 @@ public:
Containment *q; Containment *q;
FormFactor formFactor; FormFactor formFactor;
Location location; Location location;
Applet::List applets; QList<Applet *> applets;
QString wallpaper; QString wallpaper;
QHash<QString, ContainmentActions*> localActionPlugins; QHash<QString, ContainmentActions*> localActionPlugins;
int screen; int screen;