these functions are important, they should be exposed
svn path=/trunk/KDE/kdelibs/; revision=902795
This commit is contained in:
parent
52ad594971
commit
c1caaba626
@ -100,6 +100,20 @@ void AppletScript::setHasConfigurationInterface(bool hasInterface)
|
||||
}
|
||||
}
|
||||
|
||||
void AppletScript::setConfigurationRequired(bool req, const QString &reason)
|
||||
{
|
||||
if (applet()) {
|
||||
applet()->setConfigurationRequired(req, reason);
|
||||
}
|
||||
}
|
||||
|
||||
void AppletScript::setFailedToLaunch(bool failed, const QString &reason)
|
||||
{
|
||||
if (applet()) {
|
||||
applet()->setFailedToLaunch(failed, reason);
|
||||
}
|
||||
}
|
||||
|
||||
void AppletScript::showConfigurationInterface()
|
||||
{
|
||||
}
|
||||
|
@ -117,6 +117,16 @@ public:
|
||||
*/
|
||||
void setHasConfigurationInterface(bool hasInterface);
|
||||
|
||||
/**
|
||||
* @see Applet
|
||||
*/
|
||||
void setConfigurationRequired(bool req, const QString &reason = QString());
|
||||
|
||||
/**
|
||||
* @see Applet
|
||||
*/
|
||||
void setFailedToLaunch(bool failed, const QString &reason = QString());
|
||||
|
||||
public Q_SLOTS:
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user