diff options
author | Lars Knoll <lars.knoll@theqtcompany.com> | 2014-11-04 15:25:09 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2014-11-08 19:48:00 +0100 |
commit | 980e7fae0a010d519907a58ab891cc6ca94eb56a (patch) | |
tree | 3d0aec781e52b49beeaf3ef990e9196746fb6a06 /src/qml/jsruntime/qv4dateobject.cpp | |
parent | f3f86c5eaed6940c6b90132c811cbf04ff9a8e81 (diff) |
Move Data of Variant and ArgumentsObject into Heap namespace
Change-Id: Id2092a15c9fb5341d9b5cf4a9ac7a978308e4174
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4dateobject.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4dateobject.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qml/jsruntime/qv4dateobject.cpp b/src/qml/jsruntime/qv4dateobject.cpp index 9a43d6a321..749574fc29 100644 --- a/src/qml/jsruntime/qv4dateobject.cpp +++ b/src/qml/jsruntime/qv4dateobject.cpp @@ -634,10 +634,10 @@ static double getLocalTZA() DEFINE_OBJECT_VTABLE(DateObject); -DateObject::Data::Data(ExecutionEngine *engine, const QDateTime &date) +Heap::DateObject::DateObject(QV4::ExecutionEngine *engine, const QDateTime &date) : Heap::Object(engine->dateClass) { - setVTable(staticVTable()); + setVTable(QV4::DateObject::staticVTable()); value.setDouble(date.isValid() ? date.toMSecsSinceEpoch() : qSNaN()); } @@ -648,10 +648,10 @@ QDateTime DateObject::toQDateTime() const DEFINE_OBJECT_VTABLE(DateCtor); -DateCtor::Data::Data(ExecutionContext *scope) +Heap::DateCtor::DateCtor(QV4::ExecutionContext *scope) : Heap::FunctionObject(scope, QStringLiteral("Date")) { - setVTable(staticVTable()); + setVTable(QV4::DateCtor::staticVTable()); } ReturnedValue DateCtor::construct(Managed *m, CallData *callData) |