aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/help/docsettingspage.cpp
diff options
context:
space:
mode:
authorTobias Hunger <[email protected]>2010-01-07 18:17:24 +0100
committerTobias Hunger <[email protected]>2010-01-07 18:17:24 +0100
commita6ad773722a758df46813afd7af42625a0f3e276 (patch)
tree8a74e3bb0fe819603e3ce5ed867116e75acc8d64 /src/plugins/help/docsettingspage.cpp
parent8bb87fcda497d09ac3ba39b38b9c229d02022b09 (diff)
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
Diffstat (limited to 'src/plugins/help/docsettingspage.cpp')
-rw-r--r--src/plugins/help/docsettingspage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/help/docsettingspage.cpp b/src/plugins/help/docsettingspage.cpp
index b5d82de9793..7a911e3e5da 100644
--- a/src/plugins/help/docsettingspage.cpp
+++ b/src/plugins/help/docsettingspage.cpp
@@ -48,7 +48,7 @@ QString DocSettingsPage::id() const
return QLatin1String("B.Documentation");
}
-QString DocSettingsPage::trName() const
+QString DocSettingsPage::displayName() const
{
return tr("Documentation");
}
@@ -58,7 +58,7 @@ QString DocSettingsPage::category() const
return QLatin1String(Help::Constants::HELP_CATEGORY);
}
-QString DocSettingsPage::trCategory() const
+QString DocSettingsPage::displayCategory() const
{
return QCoreApplication::translate("Help", Help::Constants::HELP_TR_CATEGORY);
}