Back to home page

EIC code displayed by LXR

 
 

    


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