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.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_H
5#define QQMLFILESELECTOR_H
6
7#include <QtCore/QObject>
8#include <QtCore/QUrl>
9#include <QtQml/QQmlEngine>
10#include <QtQml/qtqmlglobal.h>
11
13
14class QFileSelector;
16class Q_QML_EXPORT QQmlFileSelector : public QObject
17{
19 Q_DECLARE_PRIVATE(QQmlFileSelector)
20public:
21 explicit QQmlFileSelector(QQmlEngine *engine, QObject *parent = nullptr);
22 ~QQmlFileSelector() override;
23 QFileSelector *selector() const noexcept;
24 void setSelector(QFileSelector *selector);
25 void setExtraSelectors(const QStringList &strings);
26
27#if QT_DEPRECATED_SINCE(6, 0)
29#endif
30
31private:
32 Q_DISABLE_COPY(QQmlFileSelector)
33};
34
36
37#endif
\inmodule QtCore
\inmodule QtCore
Definition qobject.h:103
The QQmlEngine class provides an environment for instantiating QML components.
Definition qqmlengine.h:57
A class for applying a QFileSelector to QML file loading.
\inmodule QtCore
Combined button and popup list for selecting options.
static QDBusError::ErrorType get(const char *name)
GLsizei const GLchar ** strings
[1]
#define QT_DEPRECATED
#define Q_OBJECT
QFileSelector selector
[1]
QJSEngine engine
[0]