Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-30 09:10:09

0001 // Copyright (C) 2016 The Qt Company Ltd.
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 QFILEICONPROVIDER_H
0006 #define QFILEICONPROVIDER_H
0007 
0008 #include <QtWidgets/qtwidgetsglobal.h>
0009 #include <QtCore/qfileinfo.h>
0010 #include <QtCore/qscopedpointer.h>
0011 #include <QtGui/qicon.h>
0012 #include <QtGui/qabstractfileiconprovider.h>
0013 
0014 QT_BEGIN_NAMESPACE
0015 
0016 
0017 class QFileIconProviderPrivate;
0018 
0019 class Q_WIDGETS_EXPORT QFileIconProvider : public QAbstractFileIconProvider
0020 {
0021 public:
0022     QFileIconProvider();
0023     ~QFileIconProvider();
0024 
0025     QIcon icon(IconType type) const override;
0026     QIcon icon(const QFileInfo &info) const override;
0027 
0028 private:
0029     Q_DECLARE_PRIVATE(QFileIconProvider)
0030     Q_DISABLE_COPY(QFileIconProvider)
0031 };
0032 
0033 QT_END_NAMESPACE
0034 
0035 #endif // QFILEICONPROVIDER_H