1 | // Copyright (C) 2013 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 QFILESELECTOR_H |
5 | #define QFILESELECTOR_H |
6 | |
7 | #include <QtCore/QObject> |
8 | #include <QtCore/QStringList> |
9 | |
10 | QT_BEGIN_NAMESPACE |
11 | |
12 | class QFileSelectorPrivate; |
13 | class Q_CORE_EXPORT QFileSelector : public QObject |
14 | { |
15 | Q_OBJECT |
16 | public: |
17 | explicit QFileSelector(QObject *parent = nullptr); |
18 | ~QFileSelector(); |
19 | |
20 | QString select(const QString &filePath) const; |
21 | QUrl select(const QUrl &filePath) const; |
22 | |
23 | QStringList () const; |
24 | void (const QStringList &list); |
25 | |
26 | QStringList allSelectors() const; |
27 | |
28 | private: |
29 | Q_DECLARE_PRIVATE(QFileSelector) |
30 | }; |
31 | |
32 | QT_END_NAMESPACE |
33 | |
34 | #endif |
35 | |