forked from qt-creator/qt-creator
ProjectExplorer: Use function object for special build config init
Change-Id: I5da0f28ee1a64f8d9a3145f059019be702bee463 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -55,7 +55,7 @@ protected:
|
||||
explicit BuildConfiguration(Target *target, Core::Id id);
|
||||
|
||||
public:
|
||||
~BuildConfiguration();
|
||||
~BuildConfiguration() override;
|
||||
|
||||
Utils::FilePath buildDirectory() const;
|
||||
Utils::FilePath rawBuildDirectory() const;
|
||||
@@ -118,6 +118,8 @@ public:
|
||||
|
||||
void addConfigWidgets(const std::function<void (NamedWidget *)> &adder);
|
||||
|
||||
void doInitialize(const BuildInfo &info);
|
||||
|
||||
signals:
|
||||
void environmentChanged();
|
||||
void buildDirectoryChanged();
|
||||
@@ -125,7 +127,7 @@ signals:
|
||||
void buildTypeChanged();
|
||||
|
||||
protected:
|
||||
virtual void initialize() = 0;
|
||||
void setInitializer(const std::function<void()> &initializer);
|
||||
|
||||
private:
|
||||
void emitBuildDirectoryChanged();
|
||||
|
||||
Reference in New Issue
Block a user