aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlmodels/qqmldmobjectdata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmlmodels/qqmldmobjectdata.cpp')
-rw-r--r--src/qmlmodels/qqmldmobjectdata.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/qmlmodels/qqmldmobjectdata.cpp b/src/qmlmodels/qqmldmobjectdata.cpp
new file mode 100644
index 0000000000..d10d80d80a
--- /dev/null
+++ b/src/qmlmodels/qqmldmobjectdata.cpp
@@ -0,0 +1,18 @@
+// Copyright (C) 2023 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+#include <private/qqmldmobjectdata_p.h>
+
+QT_BEGIN_NAMESPACE
+
+QQmlDMObjectData::QQmlDMObjectData(const QQmlRefPointer<QQmlDelegateModelItemMetaType> &metaType,
+ VDMObjectDelegateDataType *dataType,
+ int index, int row, int column,
+ QObject *object)
+ : QQmlDelegateModelItem(metaType, dataType, index, row, column)
+ , object(object)
+{
+ new QQmlDMObjectDataMetaObject(this, dataType);
+}
+
+QT_END_NAMESPACE