From 8b89a92e67bd382ac77e909985a7f847a4b89a9a Mon Sep 17 00:00:00 2001 From: Tim Blechmann Date: Wed, 12 Sep 2012 16:29:05 +0200 Subject: [PATCH] scide: LookupDialog - use more expressive function names Signed-off-by: Tim Blechmann --- editors/sc-ide/widgets/lookup_dialog.cpp | 4 ++-- editors/sc-ide/widgets/lookup_dialog.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/editors/sc-ide/widgets/lookup_dialog.cpp b/editors/sc-ide/widgets/lookup_dialog.cpp index 9646d7aa4..fb26fa261 100644 --- a/editors/sc-ide/widgets/lookup_dialog.cpp +++ b/editors/sc-ide/widgets/lookup_dialog.cpp @@ -262,7 +262,7 @@ QStandardItemModel * LookupDialog::modelForMethod(const QString & methodName) return model; } -QStandardItemModel * LookupDialog::modelForCaseInsensitiveQuery(const QString & queryString) +QStandardItemModel * LookupDialog::modelForPartialQuery(const QString & queryString) { const Introspection & introspection = Main::scProcess()->introspection(); vector classes = introspection.findClassPartial(queryString); @@ -319,7 +319,7 @@ bool LookupDialog::performMethodQuery(const QString & methodName) bool LookupDialog::performPartialQuery(const QString & queryString) { - QStandardItemModel * model = modelForCaseInsensitiveQuery(queryString); + QStandardItemModel * model = modelForPartialQuery(queryString); mResult->setModel(model); return model; } diff --git a/editors/sc-ide/widgets/lookup_dialog.hpp b/editors/sc-ide/widgets/lookup_dialog.hpp index 634b484c9..583563cc0 100644 --- a/editors/sc-ide/widgets/lookup_dialog.hpp +++ b/editors/sc-ide/widgets/lookup_dialog.hpp @@ -72,7 +72,7 @@ private slots: private: QStandardItemModel * modelForClass(const QString & className); QStandardItemModel * modelForMethod(const QString & methodName); - QStandardItemModel * modelForCaseInsensitiveQuery(const QString & queryString); + QStandardItemModel * modelForPartialQuery(const QString & queryString); bool performClassQuery(const QString & className); bool performMethodQuery(const QString & methodName); bool performPartialQuery(const QString & queryString); -- 2.11.4.GIT