From 4814dbf4dbb6d40f90d46b749622d723b8c1cfb2 Mon Sep 17 00:00:00 2001 From: Aaron Seigo Date: Thu, 17 Nov 2011 14:50:36 +0100 Subject: [PATCH] make these methods public for scripting purposes --- containment.h | 4 +--- scripting/appletscript.h | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/containment.h b/containment.h index 3435eb370..109aa7c5b 100644 --- a/containment.h +++ b/containment.h @@ -516,8 +516,6 @@ Q_SIGNALS: */ void showConfigurationInterface(); - protected: - //FIXME plasma2: those should be public to allow scripted containments access them /** * Sets the type of this containment. */ @@ -528,6 +526,7 @@ Q_SIGNALS: */ void setDrawWallpaper(bool drawWallpaper); + protected: /** * Called when the contents of the containment should be saved. By default this saves * all loaded Applets @@ -625,7 +624,6 @@ Q_SIGNALS: friend class Applet; friend class AppletPrivate; - friend class AppletScript; friend class CoronaPrivate; friend class ContainmentPrivate; friend class ContainmentActions; diff --git a/scripting/appletscript.h b/scripting/appletscript.h index a16358e86..0e4fdd115 100644 --- a/scripting/appletscript.h +++ b/scripting/appletscript.h @@ -138,7 +138,6 @@ public: */ void configNeedsSaving() const; - //FIXME plasma2: setWallpaperEnabled and setContainmentType should become public? /** * @return true if the applet is a containment AND if the wallpaper is enabled * @see Containment