Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qqmlfileselector_p.h
Go to the documentation of this file.
1
// Copyright (C) 2016 BlackBerry Limited. All rights reserved.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
#
ifndef
QQMLFILESELECTOR_P_H
5
#
define
QQMLFILESELECTOR_P_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#
include
"qqmlfileselector.h"
19
#
include
<
QSet
>
20
#
include
<
QQmlAbstractUrlInterceptor
>
21
#
include
<
private
/
qobject_p
.
h
>
22
#
include
<
private
/
qtqmlglobal_p
.
h
>
23
24
#
include
<
QtCore
/
qpointer
.
h
>
25
26
QT_BEGIN_NAMESPACE
27
28
class
QFileSelector;
29
class
QQmlFileSelectorInterceptor;
30
class
Q_QML_EXPORT
QQmlFileSelectorPrivate
:
public
QObjectPrivate
31
{
32
Q_DECLARE_PUBLIC(QQmlFileSelector)
33
public
:
34
QQmlFileSelectorPrivate();
35
~QQmlFileSelectorPrivate();
36
37
QFileSelector* selector;
38
QPointer<QQmlEngine> engine;
39
bool
ownSelector;
40
QScopedPointer<QQmlFileSelectorInterceptor> myInstance;
41
};
42
43
class
Q_QML_EXPORT
QQmlFileSelectorInterceptor
:
public
QQmlAbstractUrlInterceptor
44
{
45
public
:
46
QQmlFileSelectorInterceptor(QQmlFileSelectorPrivate* pd);
47
QQmlFileSelectorPrivate* d;
48
protected
:
49
QUrl intercept(
const
QUrl &path, DataType type) override;
50
};
51
52
QT_END_NAMESPACE
53
54
#
endif
QQmlFileSelectorInterceptor
Definition
qqmlfileselector_p.h:44
QQmlFileSelectorPrivate
Definition
qqmlfileselector_p.h:31
QQmlFileSelector
A class for applying a QFileSelector to QML file loading.
Definition
qqmlfileselector.h:17
QPlatformGraphicsBufferHelper
\inmodule QtGui
qtdeclarative
src
qml
qml
qqmlfileselector_p.h
Generated on
for Qt by
1.14.0