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
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
// Qt-Security score:significant
4
5
#
ifndef
QJSVALUEITERATOR_H
6
#
define
QJSVALUEITERATOR_H
7
8
#
include
<
QtQml
/
qjsvalue
.
h
>
9
#
include
<
QtQml
/
qtqmlglobal
.
h
>
10
#
include
<
QtCore
/
qscopedpointer
.
h
>
11
12
QT_BEGIN_NAMESPACE
13
14
15
class
QString;
16
17
class
QJSValueIteratorPrivate;
18
class
Q_QML_EXPORT
QJSValueIterator
19
{
20
public
:
21
QJSValueIterator(
const
QJSValue &value);
22
~QJSValueIterator();
23
24
bool
hasNext()
const
;
25
bool
next();
26
27
QString name()
const
;
28
29
QJSValue value()
const
;
30
QJSValueIterator& operator=(QJSValue &value);
31
32
private
:
33
QScopedPointer<QJSValueIteratorPrivate> d_ptr;
34
35
Q_DECLARE_PRIVATE(QJSValueIterator)
36
Q_DISABLE_COPY(QJSValueIterator)
37
};
38
39
QT_END_NAMESPACE
40
41
#
endif
// QJSVALUEITERATOR_H
QJSValueIterator
The QJSValueIterator class provides a Java-style iterator for QJSValue.
Definition
qjsvalueiterator.h:19
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qrandomaccessasyncfile_darwin.mm:17
qtdeclarative
src
qml
jsapi
qjsvalueiterator.h
Generated on
for Qt by
1.16.1