aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qbsprojectmanager/qbsrunconfiguration.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2018-04-20 13:40:15 +0200
committerhjk <hjk@qt.io>2018-04-24 05:58:48 +0000
commitd269e9a4925507d008445512becf02ea06be1054 (patch)
tree4f867bd931e04a2d8204f72459da5d6665427a36 /src/plugins/qbsprojectmanager/qbsrunconfiguration.h
parent627821234658fef54b63e3e1c994e9d6b5865e66 (diff)
ProjectExplorer: Factor out some common code in runconfigurations
DesktopQmake, CMake, Qbs, Nim, RemoteLinux and Qnx now have a common understanding what should be in a runnable and how their configuration widget should be set up. So move them over to using shared code, too. Several others runconfigs only lack a one or two more aspects to follow suit in later patches. Change-Id: Ia862c95c97d63bd0a0f2dc303435775a2fc530d3 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/qbsprojectmanager/qbsrunconfiguration.h')
-rw-r--r--src/plugins/qbsprojectmanager/qbsrunconfiguration.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/plugins/qbsprojectmanager/qbsrunconfiguration.h b/src/plugins/qbsprojectmanager/qbsrunconfiguration.h
index 8dba7156ce..987ee66aa8 100644
--- a/src/plugins/qbsprojectmanager/qbsrunconfiguration.h
+++ b/src/plugins/qbsprojectmanager/qbsrunconfiguration.h
@@ -27,12 +27,9 @@
#include <projectexplorer/runnables.h>
-#include <QCheckBox>
#include <QHash>
-#include <QLabel>
#include <QPair>
#include <QStringList>
-#include <QWidget>
namespace QbsProjectManager {
namespace Internal {
@@ -41,15 +38,9 @@ class QbsRunConfiguration : public ProjectExplorer::RunConfiguration
{
Q_OBJECT
- // to change the display name and arguments and set the userenvironmentchanges
- friend class QbsRunConfigurationWidget;
-
public:
explicit QbsRunConfiguration(ProjectExplorer::Target *target);
- QWidget *createConfigurationWidget() final;
- ProjectExplorer::Runnable runnable() const final;
-
void addToBaseEnvironment(Utils::Environment &env) const;
private: