forked from qt-creator/qt-creator
Utils/ProjectExplorer: Move re-usabled bits of aspects to Utils
Classes involved are BaseAspect and some derived classes, LayoutBuilder and VariableChooser. This is mostly mechanical, with various include/using changes to make it compile. Change-Id: I624a457f3555f102e541c4c71e33a9423af32250 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -26,7 +26,8 @@
|
||||
#pragma once
|
||||
|
||||
#include <projectexplorer/buildstep.h>
|
||||
#include <projectexplorer/projectconfigurationaspects.h>
|
||||
|
||||
#include <utils/aspects.h>
|
||||
|
||||
#include <QLabel>
|
||||
#include <QPointer>
|
||||
@@ -34,7 +35,7 @@
|
||||
namespace IncrediBuild {
|
||||
namespace Internal {
|
||||
|
||||
class CommandBuilderAspect final : public ProjectExplorer::ProjectConfigurationAspect
|
||||
class CommandBuilderAspect final : public Utils::BaseAspect
|
||||
{
|
||||
public:
|
||||
explicit CommandBuilderAspect(ProjectExplorer::BuildStep *step);
|
||||
@@ -43,7 +44,7 @@ public:
|
||||
QString fullCommandFlag(bool keepJobNum) const;
|
||||
|
||||
private:
|
||||
void addToLayout(ProjectExplorer::LayoutBuilder &builder) final;
|
||||
void addToLayout(Utils::LayoutBuilder &builder) final;
|
||||
void fromMap(const QVariantMap &map) final;
|
||||
void toMap(QVariantMap &map) const final;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user