add some api dox

svn path=/trunk/KDE/kdelibs/; revision=954563
This commit is contained in:
Frederik Gladhorn 2009-04-15 22:30:15 +00:00
parent fac4e005d0
commit 02403bf182

View File

@ -200,7 +200,13 @@ class PLASMA_EXPORT Wallpaper : public QObject
virtual void save(KConfigGroup &config); virtual void save(KConfigGroup &config);
/** /**
* Returns widget for configuration dialog. * Returns the widget used in the configuration dialog.
* Add the configuration interface of the wallpaper to this widget.
* To signal that settings have changed connect to
* settingsChanged(bool modified) in @p parent.
* @code connect(this, SIGNAL(settingsChanged(bool), parent, SLOT(settingsChanged(bool)))
* @endcode
* Emit settingsChanged(true) when the settings are changed and false when the original state is restored.
*/ */
virtual QWidget *createConfigurationInterface(QWidget *parent); virtual QWidget *createConfigurationInterface(QWidget *parent);