aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlxmlhttprequest.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2014-11-01 23:50:32 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2014-11-08 16:39:32 +0100
commitc2da8abde56d2010d3e7cb234570079f06d8a441 (patch)
treee3185e7f99c66130d615e855af3435ba102d51a4 /src/qml/qml/qqmlxmlhttprequest.cpp
parentda2396478f04aa66d521e53ff24488e72c87d895 (diff)
Move Object::Data into the Heap namespace
Change-Id: I9d30081f71b83bc86f5e5714e23396b18c4d54c5 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlxmlhttprequest.cpp')
-rw-r--r--src/qml/qml/qqmlxmlhttprequest.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/qml/qml/qqmlxmlhttprequest.cpp b/src/qml/qml/qqmlxmlhttprequest.cpp
index c8bf521767..587a58c313 100644
--- a/src/qml/qml/qqmlxmlhttprequest.cpp
+++ b/src/qml/qml/qqmlxmlhttprequest.cpp
@@ -179,9 +179,9 @@ public:
class NamedNodeMap : public Object
{
public:
- struct Data : Object::Data {
+ struct Data : Heap::Object {
Data(ExecutionEngine *engine, NodeImpl *data, const QList<NodeImpl *> &list)
- : Object::Data(engine)
+ : Heap::Object(engine)
, list(list)
, d(data)
{
@@ -215,9 +215,9 @@ DEFINE_OBJECT_VTABLE(NamedNodeMap);
class NodeList : public Object
{
public:
- struct Data : Object::Data {
+ struct Data : Heap::Object {
Data(ExecutionEngine *engine, NodeImpl *data)
- : Object::Data(engine)
+ : Heap::Object(engine)
, d(data)
{
setVTable(staticVTable());
@@ -250,9 +250,9 @@ DEFINE_OBJECT_VTABLE(NodeList);
class NodePrototype : public Object
{
public:
- struct Data : Object::Data {
+ struct Data : Heap::Object {
Data(ExecutionEngine *engine)
- : Object::Data(engine)
+ : Heap::Object(engine)
{
setVTable(staticVTable());
@@ -304,9 +304,9 @@ DEFINE_OBJECT_VTABLE(NodePrototype);
struct Node : public Object
{
- struct Data : Object::Data {
+ struct Data : Heap::Object {
Data(ExecutionEngine *engine, NodeImpl *data)
- : Object::Data(engine)
+ : Heap::Object(engine)
, d(data)
{
setVTable(staticVTable());
@@ -1595,9 +1595,9 @@ void QQmlXMLHttpRequest::destroyNetwork()
struct QQmlXMLHttpRequestWrapper : public Object
{
- struct Data : Object::Data {
+ struct Data : Heap::Object {
Data(ExecutionEngine *engine, QQmlXMLHttpRequest *request)
- : Object::Data(engine)
+ : Heap::Object(engine)
, request(request)
{
setVTable(staticVTable());
@@ -1636,7 +1636,7 @@ struct QQmlXMLHttpRequestCtor : public FunctionObject
ScopedString s(scope, engine->id_prototype);
ctor->defineDefaultProperty(s.getPointer(), ScopedObject(scope, ctor->d()->proto));
}
- Object *proto;
+ QV4::Object *proto;
};
V4_OBJECT(FunctionObject)
static void markObjects(Heap::Base *that, ExecutionEngine *e) {