forked from qt-creator/qt-creator
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: Leena Miettinen <riitta-leena.miettinen@digia.com>
This commit is contained in:
@@ -2145,10 +2145,10 @@
|
||||
\li Locating files belonging to your project, such as source, header
|
||||
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
|
||||
|
||||
\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
|
||||
your editor
|
||||
|
@@ -40,7 +40,7 @@ CppCurrentDocumentFilter::CppCurrentDocumentFilter(CppModelManager *manager)
|
||||
: m_modelManager(manager)
|
||||
{
|
||||
setId("Methods in current Document");
|
||||
setDisplayName(tr("C++ Methods in Current Document"));
|
||||
setDisplayName(tr("C++ Symbols in Current Document"));
|
||||
setShortcutString(QString(QLatin1Char('.')));
|
||||
setIncludedByDefault(false);
|
||||
|
||||
|
@@ -35,7 +35,7 @@ CppFunctionsFilter::CppFunctionsFilter(CppLocatorData *locatorData)
|
||||
: CppLocatorFilter(locatorData)
|
||||
{
|
||||
setId("Methods");
|
||||
setDisplayName(tr("C++ Methods and Functions"));
|
||||
setDisplayName(tr("C++ Functions"));
|
||||
setShortcutString(QString(QLatin1Char('m')));
|
||||
setIncludedByDefault(false);
|
||||
}
|
||||
|
@@ -38,7 +38,7 @@ CppLocatorFilter::CppLocatorFilter(CppLocatorData *locatorData)
|
||||
: m_data(locatorData)
|
||||
{
|
||||
setId("Classes and Methods");
|
||||
setDisplayName(tr("C++ Classes and Methods"));
|
||||
setDisplayName(tr("C++ Classes, Enums and Functions"));
|
||||
setShortcutString(QString(QLatin1Char(':')));
|
||||
setIncludedByDefault(false);
|
||||
}
|
||||
|
@@ -43,7 +43,7 @@ FunctionFilter::FunctionFilter(LocatorData *data, QObject *parent)
|
||||
, m_data(data)
|
||||
{
|
||||
setId("Functions");
|
||||
setDisplayName(tr("QML Methods and Functions"));
|
||||
setDisplayName(tr("QML Functions"));
|
||||
setShortcutString(QString(QLatin1Char('m')));
|
||||
setIncludedByDefault(false);
|
||||
}
|
||||
|
Reference in New Issue
Block a user