Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qquickcontentitem.cpp
Go to the documentation of this file.
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
8
QT_BEGIN_NAMESPACE
9
16
QQuickContentItem::QQuickContentItem
(
QQuickItem
*parent)
17
:
QQuickItem
(parent)
18
{
19
setObjectName
(
QQmlMetaType::prettyTypeName
(
parent
));
20
}
21
22
QQuickContentItem::QQuickContentItem
(
const
QObject
*scope,
QQuickItem
*parent)
23
:
QQuickItem
(parent)
24
{
25
setObjectName
(
QQmlMetaType::prettyTypeName
(scope));
26
}
27
28
QT_END_NAMESPACE
29
30
#include "moc_qquickcontentitem_p.cpp"
QObject
\inmodule QtCore
Definition
qobject.h:103
QObject::setObjectName
Q_WEAK_OVERLOAD void setObjectName(const QString &name)
Sets the object's name to name.
Definition
qobject.h:127
QQmlMetaType::prettyTypeName
static QString prettyTypeName(const QObject *object)
Returns the pretty QML type name (e.g.
Definition
qqmlmetatype.cpp:1761
QQuickContentItem::QQuickContentItem
QQuickContentItem(QQuickItem *parent=nullptr)
Definition
qquickcontentitem.cpp:16
QQuickItem
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
Definition
qquickitem.h:63
QQuickItem::parent
QQuickItem * parent
\qmlproperty Item QtQuick::Item::parent This property holds the visual parent of the item.
Definition
qquickitem.h:67
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
qquickcontentitem_p.h
qtdeclarative
src
quicktemplates
qquickcontentitem.cpp
Generated by
1.10.0