Several SettingsPages: Code cosmetics

De-Q_OBJECT-ify, remove unnecessary #includes, final-ize, etc.

Change-Id: I461d3e73400dacac90c22e7c84a40e3ea1718b6e
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2020-01-27 08:58:38 +01:00
parent 8b117bcd86
commit c3f7ef5340
33 changed files with 39 additions and 70 deletions

View File

@@ -36,7 +36,7 @@ namespace Internal {
QmlProfilerOptionsPage::QmlProfilerOptionsPage()
{
setId(Constants::SETTINGS);
setDisplayName(tr("QML Profiler"));
setDisplayName(QmlProfilerConfigWidget::tr("QML Profiler"));
setCategory("T.Analyzer");
setDisplayCategory(tr("Analyzer"));
setCategoryIconPath(Analyzer::Icons::SETTINGSCATEGORY_ANALYZER);

View File

@@ -31,9 +31,8 @@
namespace QmlProfiler {
namespace Internal {
class QmlProfilerOptionsPage : public Core::IOptionsPage
class QmlProfilerOptionsPage final : public Core::IOptionsPage
{
Q_OBJECT
public:
QmlProfilerOptionsPage();