Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qqmlabstracturlinterceptor.h
Go to the documentation of this file.
1
// Copyright (C) 2016 Research In Motion.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant
4
5
#
ifndef
QQMLABSTRACTURLINTERCEPTOR_H
6
#
define
QQMLABSTRACTURLINTERCEPTOR_H
7
8
#
include
<
QtQml
/
qtqmlglobal
.
h
>
9
10
QT_BEGIN_NAMESPACE
11
12
class
QUrl;
13
14
class
Q_QML_EXPORT
QQmlAbstractUrlInterceptor
15
{
16
public
:
17
enum
DataType {
//Matches QQmlDataBlob::Type
18
QmlFile = 0,
19
JavaScriptFile = 1,
20
QmldirFile = 2,
21
UrlString = 0x1000
22
};
23
24
QQmlAbstractUrlInterceptor() =
default
;
25
virtual
~QQmlAbstractUrlInterceptor() =
default
;
26
virtual
QUrl intercept(
const
QUrl &path, DataType type) = 0;
27
};
28
29
QT_END_NAMESPACE
30
#
endif
QQmlAbstractUrlInterceptor
\inmodule QtQml
Definition
qqmlabstracturlinterceptor.h:15
qtdeclarative
src
qml
qml
qqmlabstracturlinterceptor.h
Generated on
for Qt by
1.18.0