From 61d69ba939a3db6fb7fa968160c58683ec1a8fd8 Mon Sep 17 00:00:00 2001 From: Richard Dale Date: Thu, 8 May 2008 17:46:28 +0000 Subject: [PATCH] * Oops, the scripting method 'showConfigurationInterface()' was correctly named after all, so revert the commit to change it svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805532 --- applet.cpp | 2 +- scripting/appletscript.cpp | 2 +- scripting/appletscript.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/applet.cpp b/applet.cpp index be59a356d..421de4991 100644 --- a/applet.cpp +++ b/applet.cpp @@ -909,7 +909,7 @@ void Applet::showConfigurationInterface() dialog->addPage(w, i18n("Settings"), icon(), i18n("%1 Settings", name())); dialog->show(); } else if (d->script) { - d->script->createConfigurationInterface(); + d->script->showConfigurationInterface(); } else { KConfigSkeleton *nullManager = new KConfigSkeleton(0); KConfigDialog *dialog = new KConfigDialog(0, dialogId, nullManager); diff --git a/scripting/appletscript.cpp b/scripting/appletscript.cpp index 35e53991b..cdc5b1beb 100644 --- a/scripting/appletscript.cpp +++ b/scripting/appletscript.cpp @@ -80,7 +80,7 @@ QList AppletScript::contextualActions() return QList(); } -void AppletScript::createConfigurationInterface() +void AppletScript::showConfigurationInterface() { } diff --git a/scripting/appletscript.h b/scripting/appletscript.h index f146a74b8..3a8e2e745 100644 --- a/scripting/appletscript.h +++ b/scripting/appletscript.h @@ -103,7 +103,7 @@ public Q_SLOTS: /** * Show a configuration dialog. */ - virtual void createConfigurationInterface(); + virtual void showConfigurationInterface(); protected: /**