Add a URL interceptor to the QML engine
authorAlan Alpert <aalpert@rim.com>
Fri, 1 Mar 2013 01:03:43 +0000 (17:03 -0800)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 7 May 2013 17:41:26 +0000 (19:41 +0200)
commit223313479bf8ec80158ba0f6cba4dd5e74d92718
treebc39fb195736657dec6a09106ad9609253074d77
parent40d90b50c555a968f1ae540527199042fbcf1a32
Add a URL interceptor to the QML engine

Allows for custom file handling to a greater extent than the
QNetworkAccessManager.

Change-Id: Ifd3946bf33530c40ca2edeeb9f441f712e4941f6
Reviewed-by: Matthew Vogt <matthew.vogt@qinetic.com.au>
32 files changed:
src/qml/qml/qml.pri
src/qml/qml/qqmlabstracturlinterceptor.cpp [new file with mode: 0644]
src/qml/qml/qqmlabstracturlinterceptor_p.h [new file with mode: 0644]
src/qml/qml/qqmlcompiler.cpp
src/qml/qml/qqmlcontext.cpp
src/qml/qml/qqmlengine.cpp
src/qml/qml/qqmlengine.h
src/qml/qml/qqmlengine_p.h
src/qml/qml/qqmltypeloader.cpp
src/qml/qml/qqmltypeloader_p.h
tests/auto/qml/qqmlengine/data/interception/qmldir/Intercepted.qml [new file with mode: 0644]
tests/auto/qml/qqmlengine/data/interception/qmldir/intercepted.js [new file with mode: 0644]
tests/auto/qml/qqmlengine/data/interception/qmldir/intercepted/Intercepted.qml [new file with mode: 0644]
tests/auto/qml/qqmlengine/data/interception/qmldir/intercepted/Intercepted2.qml [new file with mode: 0644]
tests/auto/qml/qqmlengine/data/interception/qmldir/intercepted/intercepted.js [new file with mode: 0644]
tests/auto/qml/qqmlengine/data/interception/qmldir/intercepted/urlInterceptor.qml [new file with mode: 0644]
tests/auto/qml/qqmlengine/data/interception/qmldir/urlInterceptor.qml [new file with mode: 0644]
tests/auto/qml/qqmlengine/data/interception/strings/Intercepted.qml [new file with mode: 0644]
tests/auto/qml/qqmlengine/data/interception/strings/intercepted.js [new file with mode: 0644]
tests/auto/qml/qqmlengine/data/interception/strings/intercepted/Intercepted.qml [new file with mode: 0644]
tests/auto/qml/qqmlengine/data/interception/strings/intercepted/intercepted.js [new file with mode: 0644]
tests/auto/qml/qqmlengine/data/interception/strings/intercepted/urlInterceptor.qml [new file with mode: 0644]
tests/auto/qml/qqmlengine/data/interception/strings/urlInterceptor.qml [new file with mode: 0644]
tests/auto/qml/qqmlengine/data/interception/types/Intercepted.qml [new file with mode: 0644]
tests/auto/qml/qqmlengine/data/interception/types/Intercepted2.qml [new file with mode: 0644]
tests/auto/qml/qqmlengine/data/interception/types/intercepted.js [new file with mode: 0644]
tests/auto/qml/qqmlengine/data/interception/types/intercepted/Intercepted.qml [new file with mode: 0644]
tests/auto/qml/qqmlengine/data/interception/types/intercepted/Intercepted2.qml [new file with mode: 0644]
tests/auto/qml/qqmlengine/data/interception/types/intercepted/intercepted.js [new file with mode: 0644]
tests/auto/qml/qqmlengine/data/interception/types/intercepted/urlInterceptor.qml [new file with mode: 0644]
tests/auto/qml/qqmlengine/data/interception/types/urlInterceptor.qml [new file with mode: 0644]
tests/auto/qml/qqmlengine/tst_qqmlengine.cpp