add setHasConfigurationInterface

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858745
This commit is contained in:
Aaron J. Seigo 2008-09-08 16:20:28 +00:00
parent 49211892df
commit d14e6c63bb
2 changed files with 14 additions and 0 deletions

View File

@ -91,6 +91,13 @@ QPainterPath AppletScript::shape() const
return QPainterPath();
}
void AppletScript::setHasConfigurationInterface(bool hasInterface)
{
if (applet()) {
applet()->setHasConfigurationInterface(true);
}
}
void AppletScript::showConfigurationInterface()
{
}

View File

@ -111,6 +111,13 @@ public:
*/
virtual QPainterPath shape() const;
/**
* Sets whether or not this script has a configuration interface or not
*
* @arg hasInterface true if the applet is user configurable
*/
void setHasConfigurationInterface(bool hasInterface);
public Q_SLOTS:
/**