1// Copyright (C) 2023 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#include <private/qqmldmobjectdata_p.h>
5
6QT_BEGIN_NAMESPACE
7
8QQmlDMObjectData::QQmlDMObjectData(const QQmlRefPointer<QQmlDelegateModelItemMetaType> &metaType,
9 VDMObjectDelegateDataType *dataType,
10 int index, int row, int column,
11 QObject *object)
12 : QQmlDelegateModelItem(metaType, dataType, index, row, column)
13 , object(object)
14{
15 new QQmlDMObjectDataMetaObject(this, dataType);
16}
17
18QT_END_NAMESPACE
19

source code of qtdeclarative/src/qmlmodels/qqmldmobjectdata.cpp