aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/types/qqmlinstantiator_p_p.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2017-12-18 17:40:48 +0100
committerUlf Hermann <ulf.hermann@qt.io>2018-03-21 13:41:36 +0000
commit8629682663adb0de5f91d2bd545b5d68e6afb7cd (patch)
tree5de6be88f5a33c34fff23a181cf1479216228b1a /src/qml/types/qqmlinstantiator_p_p.h
parent01a40e1f920b58f00d52ff4542f6ef9c606a9b03 (diff)
Add a feature for DelegateModel
Change-Id: Ia24767b33a20bd70096bbb8b4f27729c788eb331 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/qml/types/qqmlinstantiator_p_p.h')
-rw-r--r--src/qml/types/qqmlinstantiator_p_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qml/types/qqmlinstantiator_p_p.h b/src/qml/types/qqmlinstantiator_p_p.h
index 9edaecf7a8..a5a4d1a32d 100644
--- a/src/qml/types/qqmlinstantiator_p_p.h
+++ b/src/qml/types/qqmlinstantiator_p_p.h
@@ -69,7 +69,9 @@ public:
void clear();
void regenerate();
+#if QT_CONFIG(qml_delegate_model)
void makeModel();
+#endif
void _q_createdItem(int, QObject *);
void _q_modelUpdated(const QQmlChangeSet &, bool);
QObject *modelObject(int index, bool async);
@@ -78,7 +80,9 @@ public:
bool effectiveReset:1;
bool active:1;
bool async:1;
+#if QT_CONFIG(qml_delegate_model)
bool ownModel:1;
+#endif
int requestedIndex;
QVariant model;
QQmlInstanceModel *instanceModel;