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
// Qt-Security score:significant
4
5
#
ifndef
QQMLFILESELECTOR_P_H
6
#
define
QQMLFILESELECTOR_P_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
"qqmlfileselector.h"
20
#
include
<
QSet
>
21
#
include
<
QQmlAbstractUrlInterceptor
>
22
#
include
<
private
/
qobject_p
.
h
>
23
#
include
<
private
/
qtqmlglobal_p
.
h
>
24
25
#
include
<
QtCore
/
qpointer
.
h
>
26
27
QT_BEGIN_NAMESPACE
28
29
class
QFileSelector;
30
class
QQmlFileSelectorInterceptor;
31
class
Q_QML_EXPORT
QQmlFileSelectorPrivate
:
public
QObjectPrivate
32
{
33
Q_DECLARE_PUBLIC(QQmlFileSelector)
34
public
:
35
QQmlFileSelectorPrivate();
36
~QQmlFileSelectorPrivate();
37
38
QFileSelector* selector;
39
QPointer<QQmlEngine> engine;
40
bool
ownSelector;
41
QScopedPointer<QQmlFileSelectorInterceptor> myInstance;
42
};
43
44
class
Q_QML_EXPORT
QQmlFileSelectorInterceptor
:
public
QQmlAbstractUrlInterceptor
45
{
46
public
:
47
QQmlFileSelectorInterceptor(QQmlFileSelectorPrivate* pd);
48
QQmlFileSelectorPrivate* d;
49
protected
:
50
QUrl intercept(
const
QUrl &path, DataType type) override;
51
};
52
53
QT_END_NAMESPACE
54
55
#
endif
QQmlFileSelectorInterceptor
Definition
qqmlfileselector_p.h:45
QQmlFileSelectorPrivate
Definition
qqmlfileselector_p.h:32
QQmlFileSelector
A class for applying a QFileSelector to QML file loading.
Definition
qqmlfileselector.h:18
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qrandomaccessasyncfile_darwin.mm:17
qtdeclarative
src
qml
qml
qqmlfileselector_p.h
Generated on
for Qt by
1.16.1