summaryrefslogtreecommitdiff
path: root/src/plugins/perfprofiler
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2022-10-24 23:44:24 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2022-10-25 09:49:13 +0000
commit866a658b42ea5984ea367da616396dc951559ba1 (patch)
treefc387af35f94317ac645113d603fed2b28ce9147 /src/plugins/perfprofiler
parenta0a8bf224509e5647bc20561eb525715f2afcaac (diff)
downloadqt-creator-866a658b42ea5984ea367da616396dc951559ba1.tar.gz
Get rid of unneeded includes of RunControl
Removed also some other includes that were marked with yellow triangles. In some cases includes of runcontrol.h were substituted with other includes, like qtcassert.h. Change-Id: Ica40f68198c7f8f70e6047acb2eddc8ef017e43d Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/perfprofiler')
-rw-r--r--src/plugins/perfprofiler/perfconfigwidget.cpp3
-rw-r--r--src/plugins/perfprofiler/perfprofilertool.cpp1
-rw-r--r--src/plugins/perfprofiler/perfprofilertool.h7
-rw-r--r--src/plugins/perfprofiler/perftracepointdialog.cpp1
4 files changed, 8 insertions, 4 deletions
diff --git a/src/plugins/perfprofiler/perfconfigwidget.cpp b/src/plugins/perfprofiler/perfconfigwidget.cpp
index 69eb0fab71..618fac11d1 100644
--- a/src/plugins/perfprofiler/perfconfigwidget.cpp
+++ b/src/plugins/perfprofiler/perfconfigwidget.cpp
@@ -3,7 +3,6 @@
#include "perfconfigeventsmodel.h"
#include "perfconfigwidget.h"
-#include "perfprofilerconstants.h"
#include "perfprofilertr.h"
#include <coreplugin/messagebox.h>
@@ -11,11 +10,11 @@
#include <projectexplorer/devicesupport/idevice.h>
#include <projectexplorer/kit.h>
#include <projectexplorer/kitinformation.h>
-#include <projectexplorer/runcontrol.h>
#include <projectexplorer/target.h>
#include <utils/aspects.h>
#include <utils/layoutbuilder.h>
+#include <utils/qtcassert.h>
#include <utils/qtcprocess.h>
#include <QComboBox>
diff --git a/src/plugins/perfprofiler/perfprofilertool.cpp b/src/plugins/perfprofiler/perfprofilertool.cpp
index 092bdf9c78..e3c036ebdf 100644
--- a/src/plugins/perfprofiler/perfprofilertool.cpp
+++ b/src/plugins/perfprofiler/perfprofilertool.cpp
@@ -24,6 +24,7 @@
#include <projectexplorer/project.h>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/projectexplorerconstants.h>
+#include <projectexplorer/runcontrol.h>
#include <projectexplorer/session.h>
#include <projectexplorer/target.h>
diff --git a/src/plugins/perfprofiler/perfprofilertool.h b/src/plugins/perfprofiler/perfprofilertool.h
index 4face4dfe5..fe91df1df3 100644
--- a/src/plugins/perfprofiler/perfprofilertool.h
+++ b/src/plugins/perfprofiler/perfprofilertool.h
@@ -11,13 +11,18 @@
#include "perftimelinemodelmanager.h"
#include <debugger/debuggermainwindow.h>
-#include <projectexplorer/runcontrol.h>
#include <tracing/timelinezoomcontrol.h>
#include <utils/fileinprojectfinder.h>
#include <QLabel>
#include <QToolButton>
+namespace ProjectExplorer {
+class Kit;
+class Project;
+class RunControl;
+}
+
namespace PerfProfiler {
namespace Internal {
diff --git a/src/plugins/perfprofiler/perftracepointdialog.cpp b/src/plugins/perfprofiler/perftracepointdialog.cpp
index 5711ac0a22..229c0a8ca4 100644
--- a/src/plugins/perfprofiler/perftracepointdialog.cpp
+++ b/src/plugins/perfprofiler/perftracepointdialog.cpp
@@ -8,7 +8,6 @@
#include <projectexplorer/kitinformation.h>
#include <projectexplorer/project.h>
#include <projectexplorer/projectexplorerconstants.h>
-#include <projectexplorer/runcontrol.h>
#include <projectexplorer/session.h>
#include <projectexplorer/target.h>