Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qqmlmodelsmodule_p.h
Go to the documentation of this file.
1
// Copyright (C) 2016 Research In Motion.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant
4
5
#
ifndef
QQMLMODELSMODULE_H
6
#
define
QQMLMODELSMODULE_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
<
QtQml
/
qqml
.
h
>
20
21
#
if
QT_CONFIG
(
itemmodel
)
22
#
include
<
QtCore
/
qabstractitemmodel
.
h
>
23
#
include
<
QtCore
/
qitemselectionmodel
.
h
>
24
#
endif
25
26
#
include
<
private
/
qtqmlmodelsglobal_p
.
h
>
27
28
QT_BEGIN_NAMESPACE
29
30
#
if
QT_CONFIG
(
itemmodel
)
31
struct
QItemSelectionModelForeign
32
{
33
Q_GADGET
34
QML_FOREIGN
(
QItemSelectionModel
)
35
QML_NAMED_ELEMENT
(
ItemSelectionModel
)
36
QML_ADDED_IN_VERSION
(2, 2)
37
};
38
39
struct
QAbstractItemModelForeign
40
{
41
Q_GADGET
42
QML_FOREIGN
(
QAbstractItemModel
)
43
QML_NAMED_ELEMENT
(
AbstractItemModel
)
44
QML_ADDED_IN_VERSION
(6, 5)
45
QML_UNCREATABLE
(
"QAbstractItemModel is abstract in C++."
)
46
};
47
48
struct
QAbstractListModelForeign
49
{
50
Q_GADGET
51
QML_FOREIGN
(
QAbstractListModel
)
52
QML_NAMED_ELEMENT
(
AbstractListModel
)
53
QML_ADDED_IN_VERSION
(6, 5)
54
QML_UNCREATABLE
(
"QAbstractListModel is abstract in C++."
)
55
};
56
#
endif
57
58
QT_END_NAMESPACE
59
60
#
endif
QSqlRelationalDelegate
\inmodule QtSql
qtdeclarative
src
qmlmodels
qqmlmodelsmodule_p.h
Generated on
for Qt by
1.14.0