aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-05-08 13:14:40 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2013-05-08 15:16:03 +0200
commitfe5869292055a3ff94cd90b8a9d2816d7b874fe3 (patch)
treedaea927c4fbc8faa92ad437ae321761eb2eb3431 /src/imports
parentf44e3f05650ce540aa2a0392ed547a900839befa (diff)
Add more convenient get/put API to QV4::Object
We can retrieve the current context from the Object itself, so it's possible to offer a simplified get/put API that doesn't require a context argument. Clean up a circular include dependency between qv4engine and qv4object. Change-Id: I39a37d479ace1ffbfe8ac59b393cab8e4be07677 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/imports')
-rw-r--r--src/imports/localstorage/plugin.cpp1
-rw-r--r--src/imports/xmllistmodel/qqmlxmllistmodel.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/imports/localstorage/plugin.cpp b/src/imports/localstorage/plugin.cpp
index 498e541a25..1797db3e0c 100644
--- a/src/imports/localstorage/plugin.cpp
+++ b/src/imports/localstorage/plugin.cpp
@@ -56,6 +56,7 @@
#include <QtCore/qdir.h>
#include <private/qv4sqlerrors_p.h>
#include <private/qv4engine_p.h>
+#include <private/qv4object_p.h>
#define V8THROW_SQL(error, desc) \
{ \
diff --git a/src/imports/xmllistmodel/qqmlxmllistmodel.cpp b/src/imports/xmllistmodel/qqmlxmllistmodel.cpp
index 668479f5ba..77c04bed61 100644
--- a/src/imports/xmllistmodel/qqmlxmllistmodel.cpp
+++ b/src/imports/xmllistmodel/qqmlxmllistmodel.cpp
@@ -46,6 +46,7 @@
#include <private/qv8engine_p.h>
#include <private/qv4value_p.h>
#include <private/qv4engine_p.h>
+#include <private/qv4object_p.h>
#include <QDebug>
#include <QStringList>