add setHasConfigurationInterface
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858745
This commit is contained in:
parent
49211892df
commit
d14e6c63bb
@ -91,6 +91,13 @@ QPainterPath AppletScript::shape() const
|
|||||||
return QPainterPath();
|
return QPainterPath();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void AppletScript::setHasConfigurationInterface(bool hasInterface)
|
||||||
|
{
|
||||||
|
if (applet()) {
|
||||||
|
applet()->setHasConfigurationInterface(true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void AppletScript::showConfigurationInterface()
|
void AppletScript::showConfigurationInterface()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -111,6 +111,13 @@ public:
|
|||||||
*/
|
*/
|
||||||
virtual QPainterPath shape() const;
|
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:
|
public Q_SLOTS:
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user