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