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:
@@ -109,7 +109,7 @@ QString S60DevicesPreferencePane::id() const
|
||||
return QLatin1String("Z.S60 SDKs");
|
||||
}
|
||||
|
||||
QString S60DevicesPreferencePane::trName() const
|
||||
QString S60DevicesPreferencePane::displayName() const
|
||||
{
|
||||
return tr("S60 SDKs");
|
||||
}
|
||||
@@ -119,7 +119,7 @@ QString S60DevicesPreferencePane::category() const
|
||||
return QLatin1String(Constants::QT_SETTINGS_CATEGORY);
|
||||
}
|
||||
|
||||
QString S60DevicesPreferencePane::trCategory() const
|
||||
QString S60DevicesPreferencePane::displayCategory() const
|
||||
{
|
||||
return QCoreApplication::translate("Qt4ProjectManager", Constants::QT_SETTINGS_CATEGORY);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user