forked from qt-creator/qt-creator
QmlProject: Use new helper function to create run configuration widgets
Change-Id: I471fe60d25bb3d8ca3ebf2d2abe8e725bc7daa56 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
@@ -31,8 +31,6 @@
|
||||
|
||||
namespace Core { class IEditor; }
|
||||
|
||||
namespace QtSupport { class BaseQtVersion; }
|
||||
|
||||
namespace QmlProjectManager {
|
||||
class QmlProject;
|
||||
|
||||
@@ -41,7 +39,6 @@ namespace Internal { class QmlProjectRunConfigurationWidget; }
|
||||
class QMLPROJECTMANAGER_EXPORT QmlProjectRunConfiguration : public ProjectExplorer::RunConfiguration
|
||||
{
|
||||
Q_OBJECT
|
||||
friend class ProjectExplorer::RunConfigurationFactory;
|
||||
friend class Internal::QmlProjectRunConfigurationWidget;
|
||||
friend class QmlProject; // to call updateEnabled()
|
||||
|
||||
@@ -62,7 +59,7 @@ public:
|
||||
|
||||
// RunConfiguration
|
||||
QString disabledReason() const override;
|
||||
virtual QWidget *createConfigurationWidget() override;
|
||||
QWidget *createConfigurationWidget() override;
|
||||
Utils::OutputFormatter *createOutputFormatter() const override;
|
||||
QVariantMap toMap() const override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user