aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cmakeprojectmanager/configmodel.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2017-09-14 13:16:10 +0200
committerTobias Hunger <tobias.hunger@qt.io>2017-09-18 11:36:51 +0000
commitdfec256dfff5af3fcd0ee47c8832d7ae600fd6c2 (patch)
tree8e538a242f14429ce4199ef25b3d5543dcf8ecfa /src/plugins/cmakeprojectmanager/configmodel.h
parent3d8ddb389d558aa7347027a94c990f695baaabd0 (diff)
CMake: Allow CMake configuration to be forced to string type
This allows editing values with misidentified types in Project Mode. Change-Id: Ic74da2ca71cc9046cbbeb1202075976c9edd28b7 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/configmodel.h')
-rw-r--r--src/plugins/cmakeprojectmanager/configmodel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/cmakeprojectmanager/configmodel.h b/src/plugins/cmakeprojectmanager/configmodel.h
index f9b5b67ae6..0bb06f59b5 100644
--- a/src/plugins/cmakeprojectmanager/configmodel.h
+++ b/src/plugins/cmakeprojectmanager/configmodel.h
@@ -75,6 +75,9 @@ public:
bool hasChanges() const;
bool hasCMakeChanges() const;
+ bool canForceToString(const QModelIndex &idx) const;
+ void forceToString(const QModelIndex &idx);
+
QList<DataItem> configurationChanges() const;
private: