diff --git a/plasma/wallpaper.cpp b/plasma/wallpaper.cpp
index 97ec7e8..16cf3a7 100644
--- a/plasma/wallpaper.cpp
+++ b/plasma/wallpaper.cpp
@@ -421,6 +421,9 @@ void Wallpaper::setResizeMethodHint(Wallpaper::ResizeMethod resizeMethod)
     emit renderHintsChanged();
 }
 
+Wallpaper::ResizeMethod Wallpaper::resizeMethodHint( void ) const
+{ return d->lastResizeMethod; }
+
 void Wallpaper::setTargetSizeHint(const QSizeF &targetSize)
 {
     d->targetSize = targetSize;
diff --git a/plasma/wallpaper.h b/plasma/wallpaper.h
index e1e9891..3086517 100644
--- a/plasma/wallpaper.h
+++ b/plasma/wallpaper.h
@@ -416,12 +416,17 @@ class PLASMA_EXPORT Wallpaper : public QObject
         /**
          * This method is invoked by setUrls(KUrl::List)
          * Can be Overriden by Plugins which want to support setting Image URLs
-         * Will be changed to virtual method in libplasma2/KDE5 
+         * Will be changed to virtual method in libplasma2/KDE5
          * @since 4.7
          */
         void addUrls(const KUrl::List &urls);
 
     protected:
+
+
+        Wallpaper::ResizeMethod resizeMethodHint( void ) const;
+
+
         /**
          * This constructor is to be used with the plugin loading systems
          * found in KPluginInfo and KService. The argument list is expected
