From 99efe4309379482fce5c231885883e359bf85290 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Thu, 6 Mar 2014 16:55:09 +0100 Subject: Remove old compiler and VME This removes the bulk of the code. A few smaller cleanups remain, to be done in smaller changes as they move code around. Additionally the "optimize" option of qqmlbundle was removed. It called QQmlScript::Parser::preparseData, which however was not implemented and always returned an empty QByteArray. Therefore "optimize" would not do anything and the class is gone now :) Change-Id: I0c265e756704cb53c5250be1f69e4a3e1b6e64d5 Reviewed-by: Lars Knoll --- tests/auto/qml/qqmllanguage/testtypes.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'tests/auto/qml/qqmllanguage/testtypes.h') diff --git a/tests/auto/qml/qqmllanguage/testtypes.h b/tests/auto/qml/qqmllanguage/testtypes.h index fb1dc3ca67..a1e2b76bd1 100644 --- a/tests/auto/qml/qqmllanguage/testtypes.h +++ b/tests/auto/qml/qqmllanguage/testtypes.h @@ -722,7 +722,6 @@ class MyCustomParserType : public QObject class MyCustomParserTypeParser : public QQmlCustomParser { public: - QByteArray compile(const QList &) { return QByteArray(); } QByteArray compile(const QV4::CompiledData::QmlUnit *, int, const QList &) { return QByteArray(); } void setCustomData(QObject *, const QByteArray &) {} }; @@ -730,7 +729,6 @@ public: class EnumSupportingCustomParser : public QQmlCustomParser { public: - QByteArray compile(const QList &props); QByteArray compile(const QV4::CompiledData::QmlUnit *qmlUnit, int objectIndex, const QList &bindings); void setCustomData(QObject *, const QByteArray &) {} }; @@ -1102,7 +1100,6 @@ public: class CustomBindingParser : public QQmlCustomParser { - virtual QByteArray compile(const QList &properties); virtual QByteArray compile(const QV4::CompiledData::QmlUnit *qmlUnit, int objectIndex, const QList &bindings); virtual void setCustomData(QObject *object, const QByteArray &data); }; -- cgit v1.2.3