1 /****************************************************************************
3 ** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
4 ** Contact: http://www.qt-project.org/
6 ** This file is part of the QtScript module of the Qt Toolkit.
8 ** $QT_BEGIN_LICENSE:LGPL-ONLY$
9 ** GNU Lesser General Public License Usage
10 ** This file may be used under the terms of the GNU Lesser
11 ** General Public License version 2.1 as published by the Free Software
12 ** Foundation and appearing in the file LICENSE.LGPL included in the
13 ** packaging of this file. Please review the following information to
14 ** ensure the GNU Lesser General Public License version 2.1 requirements
15 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
17 ** If you have questions regarding the use of this file, please contact
18 ** us via http://www.qt-project.org/.
22 ****************************************************************************/
24 #ifndef QSCRIPTVALUEITERATOR_H
25 #define QSCRIPTVALUEITERATOR_H
27 #include <QtDeclarative/qjsvalue.h>
28 #include <QtCore/qscopedpointer.h>
37 class QJSValueIteratorPrivate;
38 class Q_DECLARATIVE_EXPORT QJSValueIterator
41 QJSValueIterator(const QJSValue &value);
49 QJSValue value() const;
50 QJSValueIterator& operator=(QJSValue &value);
53 QScopedPointer<QJSValueIteratorPrivate> d_ptr;
55 Q_DECLARE_PRIVATE(QJSValueIterator)
56 Q_DISABLE_COPY(QJSValueIterator)
63 #endif // QSCRIPTVALUEITERATOR_H