Apply file selectors to QQmlApplicationEngine apps
authorAlan Alpert <aalpert@blackberry.com>
Fri, 5 Jul 2013 21:31:06 +0000 (14:31 -0700)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 19 Sep 2013 23:08:53 +0000 (01:08 +0200)
commit67ee1cd27b5e951e782e49edf382e8e7d8ee431f
treeccd28910830fedd30732156d350563c5a29ed762
parenta5052ea1e7286aee60e2e138a405d9864750db24
Apply file selectors to QQmlApplicationEngine apps

You can also manually apply them to a QQmlEngine using
setUrlInterceptor(new QQmlFileSelector(parent)), or using
your own QQmlAbstractUrlInterceptor subclass.

Change-Id: I0c0ff8b080c138686b3c03e0bc3b9f25bcd11a85
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
19 files changed:
examples/quick/demos/samegame/content/+blackberry/settings.js [new file with mode: 0644]
examples/quick/demos/samegame/content/BlockEmitter.qml
examples/quick/demos/samegame/content/PaintEmitter.qml
examples/quick/demos/samegame/content/SamegameText.qml
examples/quick/demos/samegame/content/samegame.js
examples/quick/demos/samegame/content/settings.js [moved from examples/quick/demos/samegame/settings.js with 100% similarity]
examples/quick/demos/samegame/samegame.qml
examples/quick/demos/samegame/samegame.qrc
examples/quick/shared/shared.h
src/qml/qml/qml.pri
src/qml/qml/qqmlapplicationengine.cpp
src/qml/qml/qqmlapplicationengine_p.h
src/qml/qml/qqmlfileselector.cpp [new file with mode: 0644]
src/qml/qml/qqmlfileselector.h [new file with mode: 0644]
src/qml/qml/qqmlfileselector_p.h [new file with mode: 0644]
tests/auto/qml/qqmlfileselector/data/+basic/basicTest.qml [new file with mode: 0644]
tests/auto/qml/qqmlfileselector/data/basicTest.qml [new file with mode: 0644]
tests/auto/qml/qqmlfileselector/qqmlfileselector.pro [new file with mode: 0644]
tests/auto/qml/qqmlfileselector/tst_qqmlfileselector.cpp [new file with mode: 0644]