API REVIEW: (set)hasMatchOptions -> (set)hasRunOptions()

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801367
This commit is contained in:
Davide Bettio 2008-04-26 12:41:16 +00:00
parent a522992e06
commit e576ed397b
2 changed files with 7 additions and 7 deletions

View File

@ -69,7 +69,7 @@ public:
} }
} }
bool hasMatchOptions; bool hasRunOptions;
bool hasConfig; bool hasConfig;
Priority priority; Priority priority;
Speed speed; 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) void AbstractRunner::createMatchOptions(QWidget *parent)

View File

@ -110,7 +110,7 @@ class PLASMA_EXPORT AbstractRunner : public QObject
* what happens when exec or one of the actions created in fillMatches * what happens when exec or one of the actions created in fillMatches
* is called, the runner should return true * is called, the runner should return true
*/ */
bool hasMatchOptions(); bool hasRunOptions();
/** /**
* If hasMatchOptions() returns true, this method may be called to get * 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 * 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 * Sets whether or not the runner has configuration options itself