From 6180c8c433eb45169cf5d13ec09431667d0ab71b Mon Sep 17 00:00:00 2001 From: Frerich Raabe Date: Fri, 19 Oct 2007 21:43:27 +0000 Subject: [PATCH] - 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 --- applet.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/applet.h b/applet.h index c10032a68..71781de9b 100644 --- a/applet.h +++ b/applet.h @@ -102,7 +102,7 @@ class PLASMA_EXPORT Applet : public Widget * 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 * 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(); @@ -278,15 +278,6 @@ class PLASMA_EXPORT Applet : public Widget **/ 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 * @@ -507,6 +498,15 @@ class PLASMA_EXPORT Applet : public Widget */ 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: /** * Called when a request to save the state of the applet is made