make these methods public for scripting purposes

This commit is contained in:
Aaron Seigo 2011-11-17 14:50:36 +01:00
parent 90b02f3973
commit 4814dbf4db
2 changed files with 1 additions and 4 deletions

View File

@ -516,8 +516,6 @@ Q_SIGNALS:
*/ */
void showConfigurationInterface(); void showConfigurationInterface();
protected:
//FIXME plasma2: those should be public to allow scripted containments access them
/** /**
* Sets the type of this containment. * Sets the type of this containment.
*/ */
@ -528,6 +526,7 @@ Q_SIGNALS:
*/ */
void setDrawWallpaper(bool drawWallpaper); void setDrawWallpaper(bool drawWallpaper);
protected:
/** /**
* Called when the contents of the containment should be saved. By default this saves * Called when the contents of the containment should be saved. By default this saves
* all loaded Applets * all loaded Applets
@ -625,7 +624,6 @@ Q_SIGNALS:
friend class Applet; friend class Applet;
friend class AppletPrivate; friend class AppletPrivate;
friend class AppletScript;
friend class CoronaPrivate; friend class CoronaPrivate;
friend class ContainmentPrivate; friend class ContainmentPrivate;
friend class ContainmentActions; friend class ContainmentActions;

View File

@ -138,7 +138,6 @@ public:
*/ */
void configNeedsSaving() const; 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 * @return true if the applet is a containment AND if the wallpaper is enabled
* @see Containment * @see Containment