From ef569cc05d09e76cef0da553bb4b63d68c47e287 Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 7 Mar 2024 16:29:25 +0100 Subject: [PATCH] PerfProfiler: Un-export and de-Q_OBJECT-ify PerfRunConfigurationAspect Not needed anymore. Change-Id: Iadeed22e90ab98ae5db0a4305af7c862fc2a1810 Reviewed-by: Reviewed-by: Dominik Holland --- .../perfprofiler/perfrunconfigurationaspect.cpp | 4 ++-- .../perfprofiler/perfrunconfigurationaspect.h | 14 ++++---------- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/src/plugins/perfprofiler/perfrunconfigurationaspect.cpp b/src/plugins/perfprofiler/perfrunconfigurationaspect.cpp index 748c266f0fe..d1062ed732e 100644 --- a/src/plugins/perfprofiler/perfrunconfigurationaspect.cpp +++ b/src/plugins/perfprofiler/perfrunconfigurationaspect.cpp @@ -8,7 +8,7 @@ #include -namespace PerfProfiler { +namespace PerfProfiler::Internal { PerfRunConfigurationAspect::PerfRunConfigurationAspect(ProjectExplorer::Target *target) { @@ -21,4 +21,4 @@ PerfRunConfigurationAspect::PerfRunConfigurationAspect(ProjectExplorer::Target * setConfigWidgetCreator([this] { return new Debugger::AnalyzerRunConfigWidget(this); }); } -} // namespace PerfProfiler +} // PerfProfiler::Internal diff --git a/src/plugins/perfprofiler/perfrunconfigurationaspect.h b/src/plugins/perfprofiler/perfrunconfigurationaspect.h index 8f3e3927aa1..d941fcf8e6c 100644 --- a/src/plugins/perfprofiler/perfrunconfigurationaspect.h +++ b/src/plugins/perfprofiler/perfrunconfigurationaspect.h @@ -3,20 +3,14 @@ #pragma once -#include "perfprofiler_global.h" - #include -#include +namespace PerfProfiler::Internal { -namespace PerfProfiler { - -class PERFPROFILER_EXPORT PerfRunConfigurationAspect : - public ProjectExplorer::GlobalOrProjectAspect +class PerfRunConfigurationAspect final : public ProjectExplorer::GlobalOrProjectAspect { - Q_OBJECT public: - PerfRunConfigurationAspect(ProjectExplorer::Target *target); + explicit PerfRunConfigurationAspect(ProjectExplorer::Target *target); }; -} // namespace PerfProfiler +} // PerfProfiler::Internal