Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
27
28class QFileSelector;
30class Q_QML_EXPORT QQmlFileSelectorPrivate : public QObjectPrivate
31{
32 Q_DECLARE_PUBLIC(QQmlFileSelector)
33public:
36
38 QPointer<QQmlEngine> engine;
40 QScopedPointer<QQmlFileSelectorInterceptor> myInstance;
41};
42
44{
45public:
48protected:
49 QUrl intercept(const QUrl &path, DataType type) override;
50};
51
53
54#endif
\inmodule QtCore
DataType
Specifies where URL interception is taking place.
QQmlFileSelectorPrivate * d
QPointer< QQmlEngine > engine
QScopedPointer< QQmlFileSelectorInterceptor > myInstance
A class for applying a QFileSelector to QML file loading.
\inmodule QtCore
Definition qurl.h:94
Combined button and popup list for selecting options.
GLenum type
GLsizei const GLchar *const * path