aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/types/qqmldelegatemodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/types/qqmldelegatemodel.cpp')
-rw-r--r--src/qml/types/qqmldelegatemodel.cpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/qml/types/qqmldelegatemodel.cpp b/src/qml/types/qqmldelegatemodel.cpp
index cdd336006f..0d82cca001 100644
--- a/src/qml/types/qqmldelegatemodel.cpp
+++ b/src/qml/types/qqmldelegatemodel.cpp
@@ -551,35 +551,6 @@ void QQmlDelegateModel::setRootIndex(const QVariant &root)
}
/*!
- \qmlproperty int QtQml.Models::DelegateModel::rows
-
- Contains the number of rows in the model. If the model
- is a list of items, it will be equal to the number of items
- in the list.
-
- \since QtQml.Models 2.12
-*/
-int QQmlDelegateModel::rows() const
-{
- Q_D(const QQmlDelegateModel);
- return d->m_adaptorModel.rowCount();
-}
-
-/*!
- \qmlproperty int QtQml.Models::DelegateModel::columns
-
- Contains the number of columns in the model. If the model
- is a list of items, it will be equal to \c 1.
-
- \since QtQml.Models 2.12
-*/
-int QQmlDelegateModel::columns() const
-{
- Q_D(const QQmlDelegateModel);
- return d->m_adaptorModel.columnCount();
-}
-
-/*!
\qmlmethod QModelIndex QtQml.Models::DelegateModel::modelIndex(int index)
QAbstractItemModel provides a hierarchical tree of data, whereas