Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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:90
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]
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent