these functions are important, they should be exposed

svn path=/trunk/KDE/kdelibs/; revision=902795
This commit is contained in:
Chani Armitage 2008-12-29 08:22:28 +00:00
parent 52ad594971
commit c1caaba626
2 changed files with 24 additions and 0 deletions

View File

@ -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()
{
}

View File

@ -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:
/**