diff options
author | Alan Alpert <416365416c@gmail.com> | 2013-09-16 21:47:37 -0700 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-19 01:18:54 +0200 |
commit | ffaf39e9a7f11d4e2800b3b37160a2a952795614 (patch) | |
tree | d32eacab14d99c7f4a5edaf3ce315f9094bb036a /src/qml/qml/qqmlabstracturlinterceptor.cpp | |
parent | d375a65ce10d2854cf6a4643bc9ffb221df99494 (diff) |
Make QQmlAbstractUrlInterceptor public
A supporting class for file selectors and qml import control, it allows
redirecting local file paths (use a QNAM for remote paths).
All work was done previously for Qt 5.1, including tests. This is just
making it public for Qt 5.2.
Change-Id: Icb319cc23200541c8e4088b2d400e9af94f3eee5
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlabstracturlinterceptor.cpp')
-rw-r--r-- | src/qml/qml/qqmlabstracturlinterceptor.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlabstracturlinterceptor.cpp b/src/qml/qml/qqmlabstracturlinterceptor.cpp index a68d5f7489..127dad86ce 100644 --- a/src/qml/qml/qqmlabstracturlinterceptor.cpp +++ b/src/qml/qml/qqmlabstracturlinterceptor.cpp @@ -44,8 +44,6 @@ \inmodule QtQml \brief allows you to control QML file loading. - \note This class is in an extended validation period and still subject to change. It should be treated as private API for 5.1 - QQmlAbstractUrlInterceptor is an interface which can be used to alter URLs before they are used by the QML engine. This is primarily useful for altering file urls into other file urls, such as selecting different graphical assets @@ -88,4 +86,7 @@ A pure virtual function where you can intercept the url. The returned value is taken as the new value for the url. The type of url being intercepted is given by the type variable. + + Your implementation of this function must be thread-safe, as it can be called from multiple threads + at the same time. */ |