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:
@@ -74,9 +74,9 @@ QString DisplaySettingsPage::id() const
|
||||
return m_d->m_parameters.id;
|
||||
}
|
||||
|
||||
QString DisplaySettingsPage::trName() const
|
||||
QString DisplaySettingsPage::displayName() const
|
||||
{
|
||||
return m_d->m_parameters.name;
|
||||
return m_d->m_parameters.displayName;
|
||||
}
|
||||
|
||||
QString DisplaySettingsPage::category() const
|
||||
@@ -84,9 +84,9 @@ QString DisplaySettingsPage::category() const
|
||||
return m_d->m_parameters.category;
|
||||
}
|
||||
|
||||
QString DisplaySettingsPage::trCategory() const
|
||||
QString DisplaySettingsPage::displayCategory() const
|
||||
{
|
||||
return m_d->m_parameters.trCategory;
|
||||
return m_d->m_parameters.displayCategory;
|
||||
}
|
||||
|
||||
QWidget *DisplaySettingsPage::createPage(QWidget *parent)
|
||||
|
||||
Reference in New Issue
Block a user