forked from qt-creator/qt-creator
Make method naming more consistent.
* Use id() for methods returning a string used to represent
some type of object.
* Use displayName() for strings that are meant to be user
visible.
* Quieten some warnings while touching the files anyway.
* Move Factories to their products in the plugins where that
was not done before.
Reviewed-by: dt
This commit is contained in:
@@ -47,7 +47,7 @@ QString GdbOptionsPage::settingsId()
|
||||
return QLatin1String("M.Gdb");
|
||||
}
|
||||
|
||||
QString GdbOptionsPage::trName() const
|
||||
QString GdbOptionsPage::displayName() const
|
||||
{
|
||||
return tr("Gdb");
|
||||
}
|
||||
@@ -57,7 +57,7 @@ QString GdbOptionsPage::category() const
|
||||
return QLatin1String(Debugger::Constants::DEBUGGER_SETTINGS_CATEGORY);
|
||||
}
|
||||
|
||||
QString GdbOptionsPage::trCategory() const
|
||||
QString GdbOptionsPage::displayCategory() const
|
||||
{
|
||||
return QCoreApplication::translate("Debugger", Debugger::Constants::DEBUGGER_SETTINGS_TR_CATEGORY);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user