get rid of Applet::List and Applet::Dict types
This commit is contained in:
parent
54adc7dce6
commit
0a623684c0
@ -72,9 +72,6 @@ class PLASMA_EXPORT Applet : public QObject
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
typedef QList<Applet*> List;
|
||||
typedef QHash<QString, Applet*> Dict;
|
||||
|
||||
//CONSTRUCTORS
|
||||
/**
|
||||
* @param parent the QObject this applet is parented to
|
||||
|
@ -566,7 +566,7 @@ void Containment::addApplet(Applet *applet, const QPointF &pos)
|
||||
applet->d->scheduleModificationNotification();
|
||||
}
|
||||
|
||||
Applet::List Containment::applets() const
|
||||
QList<Applet *> Containment::applets() const
|
||||
{
|
||||
return d->applets;
|
||||
}
|
||||
|
@ -211,7 +211,7 @@ class PLASMA_EXPORT Containment : public Applet
|
||||
/**
|
||||
* @return the applets currently in this Containment
|
||||
*/
|
||||
Applet::List applets() const;
|
||||
QList<Applet *> applets() const;
|
||||
|
||||
/**
|
||||
* Removes all applets from this Containment
|
||||
|
@ -125,7 +125,7 @@ public:
|
||||
Containment *q;
|
||||
FormFactor formFactor;
|
||||
Location location;
|
||||
Applet::List applets;
|
||||
QList<Applet *> applets;
|
||||
QString wallpaper;
|
||||
QHash<QString, ContainmentActions*> localActionPlugins;
|
||||
int screen;
|
||||
|
Loading…
Reference in New Issue
Block a user