aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4jsonobject.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2014-11-06 17:17:34 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2014-11-09 08:39:33 +0100
commit3c1041cbfd70a03322ca0278e0db8ac0651c0792 (patch)
treedadc0d76ccd0c0617856b7fbdc2c2c82753cb36a /src/qml/jsruntime/qv4jsonobject.cpp
parent34fa0f8fec639444bd6ba2091b6f6623128471ce (diff)
Move more Data objects into the Heap namespace
Change-Id: I87866f8dcbaac1087da7bbd2902aa5b062afca53 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4jsonobject.cpp')
-rw-r--r--src/qml/jsruntime/qv4jsonobject.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/jsruntime/qv4jsonobject.cpp b/src/qml/jsruntime/qv4jsonobject.cpp
index 2c19d8e0a1..4d8f96cac3 100644
--- a/src/qml/jsruntime/qv4jsonobject.cpp
+++ b/src/qml/jsruntime/qv4jsonobject.cpp
@@ -877,14 +877,14 @@ QString Stringify::JA(ArrayObject *a)
}
-JsonObject::Data::Data(InternalClass *ic)
+Heap::JsonObject::JsonObject(InternalClass *ic)
: Heap::Object(ic)
{
Scope scope(ic->engine);
ScopedObject o(scope, this);
- o->defineDefaultProperty(QStringLiteral("parse"), method_parse, 2);
- o->defineDefaultProperty(QStringLiteral("stringify"), method_stringify, 3);
+ o->defineDefaultProperty(QStringLiteral("parse"), QV4::JsonObject::method_parse, 2);
+ o->defineDefaultProperty(QStringLiteral("stringify"), QV4::JsonObject::method_stringify, 3);
}