remove protected member
This commit is contained in:
parent
31c2b3fd86
commit
6112778ca1
@ -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;
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user