Commit 872bfb70 authored by Nikolai Kosjar's avatar Nikolai Kosjar

CppTools: Adapt C++ locator names to reality

The new names are:

* C++ Methods in Current Document -> C++ Symbols in Current Document
* C++ Classes and Methods -> C++ Classes, Enums and Functions
* C++ Methods and Functions -> C++ Functions

Further notes:

* "C++ Classes" stays the same.
* The term "Methods" was removed since "Functions" says it all (member
  functions, non-member functions). Because of this, the "m" shortcut
  for this filter does not fit so well to the name anymore.
* "C++ Symbols in..." - "Symbols" means the same as in the C++ Search
  dialog: classes, enums, functions and declarations

Change-Id: I8e5f410f2dcb1fafe83d0a1c8607f4c17eabbb8c
Reviewed-by: default avatarLeena Miettinen <riitta-leena.miettinen@digia.com>
parent 1ca6842b
...@@ -2145,10 +2145,10 @@ ...@@ -2145,10 +2145,10 @@
\li Locating files belonging to your project, such as source, header \li Locating files belonging to your project, such as source, header
resource, and .ui files resource, and .ui files
\li Locating class and method definitions in your project or anywhere \li Locating class, enum, and function definitions in your project or anywhere
referenced from your project referenced from your project
\li Locating class and method definitions in the current document \li Locating symbols in the current document
\li Locating a specific line and column in the document displayed in \li Locating a specific line and column in the document displayed in
your editor your editor
......
...@@ -40,7 +40,7 @@ CppCurrentDocumentFilter::CppCurrentDocumentFilter(CppModelManager *manager) ...@@ -40,7 +40,7 @@ CppCurrentDocumentFilter::CppCurrentDocumentFilter(CppModelManager *manager)
: m_modelManager(manager) : m_modelManager(manager)
{ {
setId("Methods in current Document"); setId("Methods in current Document");
setDisplayName(tr("C++ Methods in Current Document")); setDisplayName(tr("C++ Symbols in Current Document"));
setShortcutString(QString(QLatin1Char('.'))); setShortcutString(QString(QLatin1Char('.')));
setIncludedByDefault(false); setIncludedByDefault(false);
......
...@@ -35,7 +35,7 @@ CppFunctionsFilter::CppFunctionsFilter(CppLocatorData *locatorData) ...@@ -35,7 +35,7 @@ CppFunctionsFilter::CppFunctionsFilter(CppLocatorData *locatorData)
: CppLocatorFilter(locatorData) : CppLocatorFilter(locatorData)
{ {
setId("Methods"); setId("Methods");
setDisplayName(tr("C++ Methods and Functions")); setDisplayName(tr("C++ Functions"));
setShortcutString(QString(QLatin1Char('m'))); setShortcutString(QString(QLatin1Char('m')));
setIncludedByDefault(false); setIncludedByDefault(false);
} }
......
...@@ -38,7 +38,7 @@ CppLocatorFilter::CppLocatorFilter(CppLocatorData *locatorData) ...@@ -38,7 +38,7 @@ CppLocatorFilter::CppLocatorFilter(CppLocatorData *locatorData)
: m_data(locatorData) : m_data(locatorData)
{ {
setId("Classes and Methods"); setId("Classes and Methods");
setDisplayName(tr("C++ Classes and Methods")); setDisplayName(tr("C++ Classes, Enums and Functions"));
setShortcutString(QString(QLatin1Char(':'))); setShortcutString(QString(QLatin1Char(':')));
setIncludedByDefault(false); setIncludedByDefault(false);
} }
......
...@@ -43,7 +43,7 @@ FunctionFilter::FunctionFilter(LocatorData *data, QObject *parent) ...@@ -43,7 +43,7 @@ FunctionFilter::FunctionFilter(LocatorData *data, QObject *parent)
, m_data(data) , m_data(data)
{ {
setId("Functions"); setId("Functions");
setDisplayName(tr("QML Methods and Functions")); setDisplayName(tr("QML Functions"));
setShortcutString(QString(QLatin1Char('m'))); setShortcutString(QString(QLatin1Char('m')));
setIncludedByDefault(false); setIncludedByDefault(false);
} }
......
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