summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/QCMakeCacheView.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/QtDialog/QCMakeCacheView.h')
-rw-r--r--Source/QtDialog/QCMakeCacheView.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/QtDialog/QCMakeCacheView.h b/Source/QtDialog/QCMakeCacheView.h
index 5ea671f..52b154e 100644
--- a/Source/QtDialog/QCMakeCacheView.h
+++ b/Source/QtDialog/QCMakeCacheView.h
@@ -65,6 +65,7 @@ public:
public slots:
void setProperties(const QCMakeCachePropertyList& props);
void clear();
+ void setEditEnabled(bool);
public:
// satisfy [pure] virtuals
@@ -80,11 +81,15 @@ public:
bool modifiedValues() const;
// get the properties
QCMakeCachePropertyList properties() const;
+
+ // editing enabled
+ bool editEnabled() const;
protected:
QCMakeCachePropertyList Properties;
int NewCount;
bool ModifiedValues;
+ bool EditEnabled;
};
/// Qt delegate class for interaction (or other customization)