Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/QtCore/qfileselector.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

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 
0004 #ifndef QFILESELECTOR_H
0005 #define QFILESELECTOR_H
0006 
0007 #include <QtCore/QObject>
0008 #include <QtCore/QStringList>
0009 
0010 QT_BEGIN_NAMESPACE
0011 
0012 class QFileSelectorPrivate;
0013 class Q_CORE_EXPORT QFileSelector : public QObject
0014 {
0015     Q_OBJECT
0016 public:
0017     explicit QFileSelector(QObject *parent = nullptr);
0018     ~QFileSelector();
0019 
0020     QString select(const QString &filePath) const;
0021     QUrl select(const QUrl &filePath) const;
0022 
0023     QStringList extraSelectors() const;
0024     void setExtraSelectors(const QStringList &list);
0025 
0026     QStringList allSelectors() const;
0027 
0028 private:
0029     Q_DECLARE_PRIVATE(QFileSelector)
0030 };
0031 
0032 QT_END_NAMESPACE
0033 
0034 #endif