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;
WallpaperScript *script;
QList<KUrl> pendingUrls;
QList<QAction*> contextActions;
bool cacheRendering : 1;
bool initialized : 1;
bool needsConfig : 1;
@ -70,7 +72,7 @@ public:
class LoadImageThread : public QObject, public QRunnable
{
Q_OBJECT
private:
QString m_filePath;

View File

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

View File

@ -520,9 +520,6 @@ class PLASMA_EXPORT Wallpaper : public QObject
**/
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
* a live preview rendered by a Wallpaper instance. note: this is just an