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
qqmllistaccessor_p.h
Go to the documentation of this file.
1// Copyright (C) 2021 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#ifndef QQMLLISTACCESSOR_H
5#define QQMLLISTACCESSOR_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 <QtCore/QVariant>
19#include <QtCore/private/qglobal_p.h>
20
22
23class QQmlEngine;
25{
26public:
29
30 QVariant list() const;
31 void setList(const QVariant &);
32
33 bool isValid() const;
34
35 qsizetype count() const;
36 QVariant at(qsizetype) const;
37 void set(qsizetype, const QVariant &);
38
50
51 Type type() const { return m_type; }
52
53private:
54 Type m_type;
55 QMetaSequence m_metaSequence;
56 QVariant d;
57};
58
60
61#endif // QQMLLISTACCESSOR_H
\inmodule QtCore
The QQmlEngine class provides an environment for instantiating QML components.
Definition qqmlengine.h:57
\inmodule QtCore
Definition qvariant.h:65
Combined button and popup list for selecting options.
GLenum GLenum GLsizei count
#define Q_AUTOTEST_EXPORT
ptrdiff_t qsizetype
Definition qtypes.h:165
QList< int > list
[14]
QFuture< QSet< QChar > > set
[10]
QAction * at
Definition moc.h:23