mirror of
https://github.com/NohamR/RMHook-Win.git
synced 2026-05-25 12:27:12 +00:00
35 lines
777 B
C++
35 lines
777 B
C++
// Copyright (C) 2013 BlackBerry Limited. All rights reserved.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
|
|
|
#ifndef QFILESELECTOR_H
|
|
#define QFILESELECTOR_H
|
|
|
|
#include <QtCore/QObject>
|
|
#include <QtCore/QStringList>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class QFileSelectorPrivate;
|
|
class Q_CORE_EXPORT QFileSelector : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit QFileSelector(QObject *parent = nullptr);
|
|
~QFileSelector();
|
|
|
|
QString select(const QString &filePath) const;
|
|
QUrl select(const QUrl &filePath) const;
|
|
|
|
QStringList extraSelectors() const;
|
|
void setExtraSelectors(const QStringList &list);
|
|
|
|
QStringList allSelectors() const;
|
|
|
|
private:
|
|
Q_DECLARE_PRIVATE(QFileSelector)
|
|
};
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif
|