Use Core::Id for IOptionPage::category

Change-Id: I63433edd9118a7aa4ecaef28f40bfc729d90f512
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2012-12-29 03:37:27 +01:00
parent 1863bfebdb
commit 78beacd7b4
40 changed files with 62 additions and 63 deletions

View File

@@ -48,7 +48,7 @@ SettingsPage::SettingsPage(QDesignerOptionsPageInterface *designerPage) :
{
setId(m_designerPage->name());
setDisplayName(m_designerPage->name());
setCategory(QLatin1String(Designer::Constants::SETTINGS_CATEGORY));
setCategory(Designer::Constants::SETTINGS_CATEGORY);
setDisplayCategory(QCoreApplication::translate("Designer",
Designer::Constants::SETTINGS_TR_CATEGORY));
setCategoryIcon(QLatin1String(Designer::Constants::SETTINGS_CATEGORY_ICON));
@@ -75,7 +75,7 @@ void SettingsPage::finish()
SettingsPageProvider::SettingsPageProvider(QObject *parent)
: IOptionsPageProvider(parent), m_initialized(false)
{
setCategory(QLatin1String(Designer::Constants::SETTINGS_CATEGORY));
setCategory(Designer::Constants::SETTINGS_CATEGORY);
setDisplayCategory(QCoreApplication::translate("Designer",
Designer::Constants::SETTINGS_TR_CATEGORY));
setCategoryIcon(QLatin1String(Designer::Constants::SETTINGS_CATEGORY_ICON));