- Fixed a typo

- showConfigurationInterface needs to be (as the API documentation points
  out correctly) a slot, otherwise it won't work. So put it into the slots
  section.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=727149
This commit is contained in:
Frerich Raabe 2007-10-19 21:43:27 +00:00
parent cdc7209ec8
commit 6180c8c433

View File

@ -102,7 +102,7 @@ class PLASMA_EXPORT Applet : public Widget
* This method is called once the applet is loaded and added to a Corona. * This method is called once the applet is loaded and added to a Corona.
* If the applet requires a QGraphicsScene or has an particularly intensive * If the applet requires a QGraphicsScene or has an particularly intensive
* set of initialization routines to go through, consider implementing it * set of initialization routines to go through, consider implementing it
* in this method instead of the contsructor. * in this method instead of the constructor.
**/ **/
virtual void init(); virtual void init();
@ -278,15 +278,6 @@ class PLASMA_EXPORT Applet : public Widget
**/ **/
bool hasConfigurationInterface(); bool hasConfigurationInterface();
/**
* Reimplement this slot to show a configuration dialog.
*
* Let the user play with the plasmoid options.
* Called when the user selects the configure entry
* from the context menu.
*/
virtual void showConfigurationInterface();
/** /**
* Attempts to load an applet * Attempts to load an applet
* *
@ -507,6 +498,15 @@ class PLASMA_EXPORT Applet : public Widget
*/ */
void destroy(); void destroy();
/**
* Reimplement this slot to show a configuration dialog.
*
* Let the user play with the plasmoid options.
* Called when the user selects the configure entry
* from the context menu.
*/
virtual void showConfigurationInterface();
protected: protected:
/** /**
* Called when a request to save the state of the applet is made * Called when a request to save the state of the applet is made