aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/v8/qjsvalueiterator_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-04-17 18:17:30 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2013-04-18 12:43:30 +0200
commit94eee5842aa5a4d4fd43ffe7a4b5613548ef2bb9 (patch)
tree39e58a786ffa97e9f85054a4fffb87c35b063ad5 /src/qml/qml/v8/qjsvalueiterator_p.h
parent67b09aef34ff7997808e04194cdb92273ec76f14 (diff)
Cleanup lots of V8 dependencies in QJS* classes
Implement a good part of QJSValue using V4. Keep the QV8Engine for now (as it is used everywhere), but add an ExecutionEngine pointer to it so other parts can more easily be ported to V4. Remove a lot of other stuff that's not required anymore. Change-Id: Ibe2c9ab10f0ee977e0e3d05a42f526206d7b22b5 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/v8/qjsvalueiterator_p.h')
-rw-r--r--src/qml/qml/v8/qjsvalueiterator_p.h29
1 files changed, 1 insertions, 28 deletions
diff --git a/src/qml/qml/v8/qjsvalueiterator_p.h b/src/qml/qml/v8/qjsvalueiterator_p.h
index 2d36ac3ca5..0ab5acd0f4 100644
--- a/src/qml/qml/v8/qjsvalueiterator_p.h
+++ b/src/qml/qml/v8/qjsvalueiterator_p.h
@@ -42,10 +42,7 @@
#ifndef QJSVALUEITERATOR_P_H
#define QJSVALUEITERATOR_P_H
-#include <private/qintrusivelist_p.h>
-#include "qjsvalue_p.h"
-
-#include <private/qv8_p.h>
+#include "qjsvalue.h"
QT_BEGIN_NAMESPACE
@@ -54,30 +51,6 @@ class QV8Engine;
class QJSValueIteratorPrivate
{
public:
- inline QJSValueIteratorPrivate(const QJSValuePrivate* value);
- inline ~QJSValueIteratorPrivate();
-
- inline bool hasNext() const;
- inline bool next();
-
- inline QString name() const;
-
- inline QScriptPassPointer<QJSValuePrivate> value() const;
-
- inline bool isValid() const;
- inline QV8Engine* engine() const;
-
- inline void invalidate();
-private:
- Q_DISABLE_COPY(QJSValueIteratorPrivate)
-
- QIntrusiveListNode m_node;
- QScriptSharedDataPointer<QJSValuePrivate> m_object;
- v8::Persistent<v8::Array> m_names;
- uint32_t m_index;
- uint32_t m_count;
-
- friend class QV8Engine;
};