Commit 82599d55 authored by Nikolai Kosjar's avatar Nikolai Kosjar

Locator: State language in filter names.

Task-number: QTCREATORBUG-4929

Change-Id: I9b21010d14e27ace13ba7939db6ce4efb4b36435
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent a00b2914
...@@ -44,7 +44,7 @@ public: ...@@ -44,7 +44,7 @@ public:
CppClassesFilter(Internal::CppModelManager *manager); CppClassesFilter(Internal::CppModelManager *manager);
~CppClassesFilter(); ~CppClassesFilter();
QString displayName() const { return tr("Classes"); } QString displayName() const { return tr("C++ Classes"); }
QString id() const { return QLatin1String("Classes"); } QString id() const { return QLatin1String("Classes"); }
Priority priority() const { return Medium; } Priority priority() const { return Medium; }
}; };
......
...@@ -51,7 +51,7 @@ public: ...@@ -51,7 +51,7 @@ public:
CppCurrentDocumentFilter(CppModelManager *manager, Core::EditorManager *editorManager); CppCurrentDocumentFilter(CppModelManager *manager, Core::EditorManager *editorManager);
~CppCurrentDocumentFilter() {} ~CppCurrentDocumentFilter() {}
QString displayName() const { return tr("Methods in Current Document"); } QString displayName() const { return tr("C++ Methods in Current Document"); }
QString id() const { return QLatin1String("Methods in current Document"); } QString id() const { return QLatin1String("Methods in current Document"); }
Priority priority() const { return Medium; } Priority priority() const { return Medium; }
QList<Locator::FilterEntry> matchesFor(QFutureInterface<Locator::FilterEntry> &future, const QString &entry); QList<Locator::FilterEntry> matchesFor(QFutureInterface<Locator::FilterEntry> &future, const QString &entry);
......
...@@ -44,7 +44,7 @@ public: ...@@ -44,7 +44,7 @@ public:
CppFunctionsFilter(CppModelManager *manager); CppFunctionsFilter(CppModelManager *manager);
~CppFunctionsFilter(); ~CppFunctionsFilter();
QString displayName() const { return tr("Methods and Functions"); } QString displayName() const { return tr("C++ Methods and Functions"); }
QString id() const { return QLatin1String("Methods"); } QString id() const { return QLatin1String("Methods"); }
Priority priority() const { return Medium; } Priority priority() const { return Medium; }
}; };
......
...@@ -46,7 +46,7 @@ public: ...@@ -46,7 +46,7 @@ public:
CppLocatorFilter(CppModelManager *manager); CppLocatorFilter(CppModelManager *manager);
~CppLocatorFilter(); ~CppLocatorFilter();
QString displayName() const { return tr("Classes and Methods"); } QString displayName() const { return tr("C++ Classes and Methods"); }
QString id() const { return QLatin1String("Classes and Methods"); } QString id() const { return QLatin1String("Classes and Methods"); }
Priority priority() const { return Medium; } Priority priority() const { return Medium; }
QList<Locator::FilterEntry> matchesFor(QFutureInterface<Locator::FilterEntry> &future, const QString &entry); QList<Locator::FilterEntry> matchesFor(QFutureInterface<Locator::FilterEntry> &future, const QString &entry);
......
...@@ -45,7 +45,7 @@ public: ...@@ -45,7 +45,7 @@ public:
explicit FunctionFilter(LocatorData *data, QObject *parent = 0); explicit FunctionFilter(LocatorData *data, QObject *parent = 0);
~FunctionFilter(); ~FunctionFilter();
QString displayName() const { return tr("Methods and Functions"); } QString displayName() const { return tr("QML Methods and Functions"); }
QString id() const { return QLatin1String("Functions"); } QString id() const { return QLatin1String("Functions"); }
Priority priority() const { return Medium; } Priority priority() const { return Medium; }
QList<Locator::FilterEntry> matchesFor(QFutureInterface<Locator::FilterEntry> &future, const QString &entry); QList<Locator::FilterEntry> matchesFor(QFutureInterface<Locator::FilterEntry> &future, const QString &entry);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment