File indexing completed on 2024-04-14 15:52:15

0001 /*
0002     SPDX-FileCopyrightText: 2018-2022 Nikita Melnichenko <nikita+kde@melnichenko.name>
0003     SPDX-FileCopyrightText: 2018-2022 Krusader Krew <https://krusader.org>
0004 
0005     SPDX-License-Identifier: GPL-2.0-or-later
0006 */
0007 
0008 #ifndef FILELISTICON_H
0009 #define FILELISTICON_H
0010 
0011 #include "icon.h"
0012 
0013 // QtGui
0014 #include <QPixmap>
0015 
0016 class FileListIcon : public Icon
0017 {
0018 public:
0019     explicit FileListIcon(QString name)
0020         : Icon(name)
0021     {
0022     }
0023 
0024     /// Load pixmap of standard file list icon size
0025     QPixmap pixmap() const;
0026 
0027     /// Get icon size as configured by user
0028     QSize size() const;
0029 };
0030 
0031 #endif // FILELISTICON_H