diff --git a/src/plasma/runnermanager.cpp b/src/plasma/runnermanager.cpp index 8b0e3a79b..1782297f9 100644 --- a/src/plasma/runnermanager.cpp +++ b/src/plasma/runnermanager.cpp @@ -601,9 +601,9 @@ QList RunnerManager::matches() const return d->context.matches(); } -void RunnerManager::run(const QString &id) +void RunnerManager::run(const QString &matchId) { - run(d->context.match(id)); + run(d->context.match(matchId)); } void RunnerManager::run(const QueryMatch &match) diff --git a/src/plasma/runnermanager.h b/src/plasma/runnermanager.h index c29bf805e..721043216 100644 --- a/src/plasma/runnermanager.h +++ b/src/plasma/runnermanager.h @@ -57,10 +57,10 @@ class PLASMA_EXPORT RunnerManager : public QObject /** * Finds and returns a loaded runner or NULL - * @param name the name of the runner + * @param pluginName the name of the runner plugin * @return Pointer to the runner */ - AbstractRunner *runner(const QString &name) const; + AbstractRunner *runner(const QString &pluginName) const; /** * @return the currently active "single mode" runner, or null if none @@ -203,7 +203,7 @@ class PLASMA_EXPORT RunnerManager : public QObject * @return mime data of the specified match * @since 4.5 */ - QMimeData * mimeDataForMatch(const QString &id) const; + QMimeData * mimeDataForMatch(const QString &matchId) const; /** * Returns a list of all known Runner implementations