1// Copyright (C) 2018 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 "qquickcontentitem_p.h"
5
6#include <QtQml/private/qqmlmetatype_p.h>
7
8QT_BEGIN_NAMESPACE
9
10/*!
11 \internal
12
13 Helper class that aids debugging by producing more useful debugging output.
14*/
15
16QQuickContentItem::QQuickContentItem(QQuickItem *parent)
17 : QQuickItem(parent)
18{
19 setObjectName(QQmlMetaType::prettyTypeName(object: parent));
20}
21
22QQuickContentItem::QQuickContentItem(const QObject *scope, QQuickItem *parent)
23 : QQuickItem(parent)
24{
25 setObjectName(QQmlMetaType::prettyTypeName(object: scope));
26}
27
28QT_END_NAMESPACE
29
30#include "moc_qquickcontentitem_p.cpp"
31

source code of qtdeclarative/src/quicktemplates/qquickcontentitem.cpp