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
qjsvalueiterator.h
Go to the documentation of this file.
1// Copyright (C) 2016 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 QJSVALUEITERATOR_H
5#define QJSVALUEITERATOR_H
6
7#include <QtQml/qjsvalue.h>
8#include <QtQml/qtqmlglobal.h>
9#include <QtCore/qscopedpointer.h>
10
12
13
14class QString;
15
17class Q_QML_EXPORT QJSValueIterator
18{
19public:
22
23 bool hasNext() const;
24 bool next();
25
26 QString name() const;
27
28 QJSValue value() const;
29 QJSValueIterator& operator=(QJSValue &value);
30
31private:
32 QScopedPointer<QJSValueIteratorPrivate> d_ptr;
33
34 Q_DECLARE_PRIVATE(QJSValueIterator)
35 Q_DISABLE_COPY(QJSValueIterator)
36};
37
39
40#endif // QJSVALUEITERATOR_H
The QJSValueIterator class provides a Java-style iterator for QJSValue.
The QJSValue class acts as a container for Qt/JavaScript data types.
Definition qjsvalue.h:31
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
short next
Definition keywords.cpp:445
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLuint name
static bool hasNext(const Symbols &symbols, int i)
Definition main.cpp:78