aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/types/qqmldelegatemodel_p_p.h
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2018-02-02 13:48:23 +0100
committerRichard Moe Gustavsen <richard.gustavsen@qt.io>2018-02-09 08:47:23 +0000
commit59a9c7c3d9edeb9420bf17c5913484daaf5b1ff5 (patch)
tree9af91cd68db17148a95f7e1cd32f7ec7d895d954 /src/qml/types/qqmldelegatemodel_p_p.h
parente4cfd64ed2458c45fe13e5fed611952632d69156 (diff)
QQmlDelegateModel: add support for row and column (revision 2.12)
Add support for setting row and column count directly on QQmlDelegateModel. Change-Id: If171e52764795f98b43753c9524a6740d9c944cf Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/qml/types/qqmldelegatemodel_p_p.h')
-rw-r--r--src/qml/types/qqmldelegatemodel_p_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qml/types/qqmldelegatemodel_p_p.h b/src/qml/types/qqmldelegatemodel_p_p.h
index 7b60bcddc0..aa2a3fcd42 100644
--- a/src/qml/types/qqmldelegatemodel_p_p.h
+++ b/src/qml/types/qqmldelegatemodel_p_p.h
@@ -301,6 +301,9 @@ public:
void incubatorStatusChanged(QQDMIncubationTask *incubationTask, QQmlIncubator::Status status);
void setInitialState(QQDMIncubationTask *incubationTask, QObject *o);
+ void setRows(int rows);
+ void setColumns(int columns);
+
QQmlAdaptorModel m_adaptorModel;
QQmlListCompositor m_compositor;
QQmlComponent *m_delegate;