diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-05 04:00:03 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-05 04:00:03 (GMT) |
commit | f062be7569804461dad94d5b80dc0b87298fd5eb (patch) | |
tree | 9268f72004a03f46957ee03a6cb111a1b1fb8c87 /src/declarative/qml/qmlvme.cpp | |
parent | 6089208e78bdcb0091c0ba0bc2fbd2a4fc0806de (diff) | |
download | Qt-f062be7569804461dad94d5b80dc0b87298fd5eb.zip Qt-f062be7569804461dad94d5b80dc0b87298fd5eb.tar.gz Qt-f062be7569804461dad94d5b80dc0b87298fd5eb.tar.bz2 |
Remove XML custom parser support
Diffstat (limited to 'src/declarative/qml/qmlvme.cpp')
-rw-r--r-- | src/declarative/qml/qmlvme.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/declarative/qml/qmlvme.cpp b/src/declarative/qml/qmlvme.cpp index a3bfd62..ad3d1d5 100644 --- a/src/declarative/qml/qmlvme.cpp +++ b/src/declarative/qml/qmlvme.cpp @@ -277,27 +277,6 @@ QObject *QmlVME::run(QmlContext *ctxt, QmlCompiledComponent *comp, int start, in } break; - case QmlInstruction::CreateCustomObject: - { -#ifdef Q_ENABLE_PERFORMANCE_LOG - QFxCompilerTimer<QFxCompiler::InstrCreateCustomObject> cc; -#endif - QVariant v = - types.at(instr.createCustom.type).parser->create(datas.at(instr.createCustom.data)); - // XXX - QObject *o = QmlMetaType::toQObject(v); - if (!o) - VME_EXCEPTION("Unable to create" << types.at(instr.create.type).className); - QmlEngine::setContextForObject(o, QmlContext::activeContext()); - - if (!stack.isEmpty()) { - QObject *parent = stack.top(); - o->setParent(parent); - } - stack.push(o); - } - break; - case QmlInstruction::SetId: { #ifdef Q_ENABLE_PERFORMANCE_LOG |