remove protected member

This commit is contained in:
Aaron Seigo 2011-05-06 11:57:49 +02:00
parent 31c2b3fd86
commit 6112778ca1
3 changed files with 5 additions and 6 deletions

View File

@ -59,6 +59,8 @@ public:
QSizeF targetSize; QSizeF targetSize;
WallpaperScript *script; WallpaperScript *script;
QList<KUrl> pendingUrls; QList<KUrl> pendingUrls;
QList<QAction*> contextActions;
bool cacheRendering : 1; bool cacheRendering : 1;
bool initialized : 1; bool initialized : 1;
bool needsConfig : 1; bool needsConfig : 1;

View File

@ -619,12 +619,12 @@ void Wallpaper::insertIntoCache(const QString& key, const QImage &image)
QList<QAction*> Wallpaper::contextualActions() const QList<QAction*> Wallpaper::contextualActions() const
{ {
return contextActions; return d->contextActions;
} }
void Wallpaper::setContextualActions(const QList<QAction*> &actions) void Wallpaper::setContextualActions(const QList<QAction*> &actions)
{ {
contextActions = actions; d->contextActions = actions;
} }
bool Wallpaper::isPreviewing() const bool Wallpaper::isPreviewing() const

View File

@ -520,9 +520,6 @@ class PLASMA_EXPORT Wallpaper : public QObject
**/ **/
void setContextualActions(const QList<QAction*> &actions); void setContextualActions(const QList<QAction*> &actions);
//FIXME: KDE5, this must be moved to the dptr
QList<QAction*> contextActions;
/** /**
* Sets whether the configuration user interface of the wallpaper should have * Sets whether the configuration user interface of the wallpaper should have
* a live preview rendered by a Wallpaper instance. note: this is just an * a live preview rendered by a Wallpaper instance. note: this is just an