provide access to config needs saving

svn path=/trunk/KDE/kdelibs/; revision=906373
This commit is contained in:
Aaron J. Seigo 2009-01-06 03:02:22 +00:00
parent cf32d4770d
commit a9cc2e29b6
2 changed files with 12 additions and 0 deletions

View File

@ -114,6 +114,13 @@ void AppletScript::setFailedToLaunch(bool failed, const QString &reason)
} }
} }
void AppletScript::configNeedsSaving() const
{
if (applet()) {
emit applet()->configNeedsSaving();
}
}
void AppletScript::showConfigurationInterface() void AppletScript::showConfigurationInterface()
{ {
} }

View File

@ -127,6 +127,11 @@ public:
*/ */
void setFailedToLaunch(bool failed, const QString &reason = QString()); void setFailedToLaunch(bool failed, const QString &reason = QString());
/**
* @see Applet
*/
void configNeedsSaving() const;
public Q_SLOTS: public Q_SLOTS:
/** /**