diff options
author | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-10-22 16:45:52 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-10-23 07:59:37 +0000 |
commit | 66efe78b2bbd332c57e1c50c98a6abbb9be062ee (patch) | |
tree | e3c40963f97a7d7a2bd75fb726dcd66da074970a /src/plugins/projectexplorer/buildconfiguration.h | |
parent | ea128cd8fc36aa5e5edc53f97e8c72e588b49abd (diff) | |
download | qt-creator-66efe78b2bbd332c57e1c50c98a6abbb9be062ee.tar.gz |
BuildConfiguration: Add static helper to turn buildtype into a string
Use that helper in the projectexplorer instead of hardcoding a mapping
there.
Change-Id: I8720607a869c086569661fc9e9326ed6e0f85bb3
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
Diffstat (limited to 'src/plugins/projectexplorer/buildconfiguration.h')
-rw-r--r-- | src/plugins/projectexplorer/buildconfiguration.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/buildconfiguration.h b/src/plugins/projectexplorer/buildconfiguration.h index 1dae36db75..81d2f05a7b 100644 --- a/src/plugins/projectexplorer/buildconfiguration.h +++ b/src/plugins/projectexplorer/buildconfiguration.h @@ -91,6 +91,8 @@ public: }; virtual BuildType buildType() const = 0; + static QString buildTypeName(BuildType type); + signals: void environmentChanged(); void buildDirectoryChanged(); |