diff --git a/abstractrunner.cpp b/abstractrunner.cpp index 55eb103b1..7e65f1ae2 100644 --- a/abstractrunner.cpp +++ b/abstractrunner.cpp @@ -69,7 +69,7 @@ public: } } - bool hasMatchOptions; + bool hasRunOptions; bool hasConfig; Priority priority; Speed speed; @@ -149,14 +149,14 @@ void AbstractRunner::performMatch( Plasma::SearchContext &globalContext ) } } -bool AbstractRunner::hasMatchOptions() +bool AbstractRunner::hasRunOptions() { - return d->hasMatchOptions; + return d->hasRunOptions; } -void AbstractRunner::setHasMatchOptions(bool hasMatchOptions) +void AbstractRunner::setHasRunOptions(bool hasRunOptions) { - d->hasMatchOptions = hasMatchOptions; + d->hasRunOptions = hasRunOptions; } void AbstractRunner::createMatchOptions(QWidget *parent) diff --git a/abstractrunner.h b/abstractrunner.h index 6ea2abacc..45b87b50c 100644 --- a/abstractrunner.h +++ b/abstractrunner.h @@ -110,7 +110,7 @@ class PLASMA_EXPORT AbstractRunner : public QObject * what happens when exec or one of the actions created in fillMatches * is called, the runner should return true */ - bool hasMatchOptions(); + bool hasRunOptions(); /** * If hasMatchOptions() returns true, this method may be called to get @@ -182,7 +182,7 @@ class PLASMA_EXPORT AbstractRunner : public QObject /** * Sets whether or not the the runner has options for matches */ - void setHasMatchOptions(bool hasMatchOptions); + void setHasRunOptions(bool hasRunOptions); /** * Sets whether or not the runner has configuration options itself