From 2e01927f69a447ade77288f3632b1611a527280b Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Thu, 26 Nov 2009 01:57:02 +0000 Subject: [PATCH] consistency svn path=/trunk/KDE/kdelibs/; revision=1054451 --- runnermanager.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/runnermanager.cpp b/runnermanager.cpp index ac5253b77..28af62242 100644 --- a/runnermanager.cpp +++ b/runnermanager.cpp @@ -129,7 +129,7 @@ public: void loadSingleRunner() { if (!singleMode || singleModeRunnerId.isEmpty() || - !enabledSingleRunnerNames.contains(singleModeRunnerId)) { + !enabledSingleRunnerIds.contains(singleModeRunnerId)) { clearSingleRunner(); return; } @@ -188,7 +188,7 @@ public: pluginConf = KConfigGroup(KGlobal::config(), "Plugins"); } - enabledSingleRunnerNames.clear(); + enabledSingleRunnerIds.clear(); foreach (const KService::Ptr &service, offers) { //kDebug() << "Loading runner: " << service->name() << service->storageId(); @@ -210,7 +210,7 @@ public: const bool singleQueryModeEnabled = service->property("SingleRunnerQueryMode", QVariant::Bool).toBool(); if (singleQueryModeEnabled) { - enabledSingleRunnerNames.insert(runnerName, description.name()); + enabledSingleRunnerIds.insert(runnerName, description.name()); } //kDebug() << loadAll << description.isPluginEnabled() << noWhiteList << whiteList.contains(runnerName); @@ -349,7 +349,7 @@ public: QTimer matchChangeTimer; QTimer delayTimer; // Timer to control when to run slow runners QHash runners; - QHash enabledSingleRunnerNames; + QHash enabledSingleRunnerIds; AbstractRunner* currentSingleRunner; QSet searchJobs; QSet oldSearchJobs; @@ -473,7 +473,7 @@ QList RunnerManager::runners() const QStringList RunnerManager::enabledSingleModeRunnerIds() const { - return d->enabledSingleRunnerNames.keys(); + return d->enabledSingleRunnerIds.keys(); } QString RunnerManager::runnerName(const QString &id) const @@ -481,7 +481,7 @@ QString RunnerManager::runnerName(const QString &id) const if (runner(id)) { return runner(id)->name(); } else { - return d->enabledSingleRunnerNames.value(id, QString()); + return d->enabledSingleRunnerIds.value(id, QString()); } }