diff --git a/applet.cpp b/applet.cpp index a2fe6cc9c..7e6e7e04f 100644 --- a/applet.cpp +++ b/applet.cpp @@ -296,7 +296,7 @@ bool Applet::eventFilter( QObject *o, QEvent * e ) return QObject::eventFilter(o, e); } -void Applet::configureDialog() +void Applet::showConfigurationInterface() { } diff --git a/applet.h b/applet.h index 2d8424202..2b5b952fe 100644 --- a/applet.h +++ b/applet.h @@ -145,7 +145,7 @@ class PLASMA_EXPORT Applet : public QObject, public QGraphicsItem * play with the plasmoid options. Called when the user selects the configure entry * from the context menu. */ - virtual void configureDialog(); + virtual void showConfigurationInterface(); /** * Attempts to load an applet, returning a pointer to the applet if @@ -267,7 +267,7 @@ class PLASMA_EXPORT Applet : public QObject, public QGraphicsItem /** * Sets whether or not this applet provides a user interface for configuring * the applet. It defaults to false, and if true is passed in you should - * also reimplement configureDialog() + * also reimplement showConfigurationInterface() * * @arg hasInterface whether or not there is a user interface available **/ diff --git a/corona.cpp b/corona.cpp index 8d4db2e82..2ceaa239a 100644 --- a/corona.cpp +++ b/corona.cpp @@ -318,7 +318,7 @@ void Corona::contextMenuEvent(QGraphicsSceneContextMenuEvent *contextMenuEvent) if (applet->hasConfigurationInterface()) { QAction* configureApplet = new QAction(i18n("%1 Settings...", applet->name()), this); connect(configureApplet, SIGNAL(triggered(bool)), - applet, SLOT(configureDialog())); + applet, SLOT(showConfigurationInterface())); desktopMenu.addAction(configureApplet); hasEntries = true; }