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
|
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
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user