Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-01-02 10:03:21

0001 // Copyright (C) 2013 BlackBerry Limited. All rights reserved.
0002 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
0003 // Qt-Security score:significant reason:default
0004 
0005 #ifndef QFILESELECTOR_H
0006 #define QFILESELECTOR_H
0007 
0008 #include <QtCore/QObject>
0009 #include <QtCore/QStringList>
0010 
0011 QT_BEGIN_NAMESPACE
0012 
0013 class QFileSelectorPrivate;
0014 class Q_CORE_EXPORT QFileSelector : public QObject
0015 {
0016     Q_OBJECT
0017 public:
0018     explicit QFileSelector(QObject *parent = nullptr);
0019     ~QFileSelector();
0020 
0021     QString select(const QString &filePath) const;
0022     QUrl select(const QUrl &filePath) const;
0023 
0024     QStringList extraSelectors() const;
0025     void setExtraSelectors(const QStringList &list);
0026 
0027     QStringList allSelectors() const;
0028 
0029 private:
0030     Q_DECLARE_PRIVATE(QFileSelector)
0031 };
0032 
0033 QT_END_NAMESPACE
0034 
0035 #endif