aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/buildstep.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2018-10-12 17:52:09 +0200
committerhjk <hjk@qt.io>2018-10-15 12:08:22 +0000
commit683e7aa6cff84171359384d861f160115921e632 (patch)
tree994fc2fbf0d71a981b037d67c8ec7474f318067a /src/plugins/projectexplorer/buildstep.h
parent5fc1b5d8e78fec99e522d3a79628da2083eb4ffd (diff)
ProjectExplorer: Make BuildStepConfigWidget::displayName a value
Use BuildStep::displayName() as default. This probably could be the only possibility, but currently there are some discrepancies that are kept in this patch to make the patch mechanical. Change-Id: I2a1e5c2ff37ad95e25309eb16e07099e42191f60 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/buildstep.h')
-rw-r--r--src/plugins/projectexplorer/buildstep.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/buildstep.h b/src/plugins/projectexplorer/buildstep.h
index 9fabcf82d4..0694cbe7ef 100644
--- a/src/plugins/projectexplorer/buildstep.h
+++ b/src/plugins/projectexplorer/buildstep.h
@@ -175,11 +175,13 @@ public:
virtual QString summaryText() const;
virtual QString additionalSummaryText() const { return QString(); }
- virtual QString displayName() const;
+ QString displayName() const;
BuildStep *step() const { return m_step; }
bool showWidget() const { return m_showWidget; }
+ void setDisplayName(const QString &displayName);
+
signals:
void updateSummary();
void updateAdditionalSummary();
@@ -187,6 +189,7 @@ signals:
private:
BuildStep *m_step = nullptr;
const bool m_showWidget = true;
+ QString m_displayName;
};
} // namespace ProjectExplorer