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
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
4#ifndef QQMLMODELSMODULE_H
5#define QQMLMODELSMODULE_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtQml/qqml.h>
19
20#if QT_CONFIG(itemmodel)
21#include <QtCore/qabstractitemmodel.h>
22#include <QtCore/qitemselectionmodel.h>
23#endif
24
25#include <private/qtqmlmodelsglobal_p.h>
26
28
29#if QT_CONFIG(itemmodel)
30struct QItemSelectionModelForeign
31{
34 QML_NAMED_ELEMENT(ItemSelectionModel)
36};
37
38struct QAbstractItemModelForeign
39{
42 QML_NAMED_ELEMENT(AbstractItemModel)
44 QML_UNCREATABLE("QAbstractItemModel is abstract in C++.")
45};
46
47struct QAbstractListModelForeign
48{
51 QML_NAMED_ELEMENT(AbstractListModel)
53 QML_UNCREATABLE("QAbstractListModel is abstract in C++.")
54};
55#endif
56
58
59#endif
Combined button and popup list for selecting options.
GLuint in
#define QML_UNCREATABLE(REASON)
#define QML_NAMED_ELEMENT(NAME)
#define QML_FOREIGN(FOREIGN_TYPE)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
#define Q_GADGET