4#ifndef QABSTRACTFILEICONENGINE_P_H
5#define QABSTRACTFILEICONENGINE_P_H
18#include <QtCore/qfileinfo.h>
19#include <private/qicon_p.h>
20#include <qpa/qplatformtheme.h>
33 bool isNull()
override {
return false; }
39 template <
class It>
static QList<QSize> toSizeList(It i1, It i2);
47 const QPlatformTheme::IconOptions
m_options;
54 result.reserve(
int(i2 - i1));
55 for ( ; i1 != i2; ++i1)
Helper base class for retrieving icons for files for usage by QFileIconProvider and related.
virtual QPixmap filePixmap(const QSize &size, QIcon::Mode mode, QIcon::State)=0
QAbstractFileIconEngine(const QFileInfo &info, QPlatformTheme::IconOptions opts)
QFileInfo fileInfo() const
QPlatformTheme::IconOptions options() const
static QList< QSize > toSizeList(It i1, It i2)
Mode
This enum type describes the mode for which a pixmap is intended to be used.
State
This enum describes the state for which a pixmap is intended to be used.
Returns a copy of the pixmap that is transformed using the given transformation transform and transfo...
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
SharedPointerFileDialogOptions m_options
static QByteArray cacheKey(Args &&...args)
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLenum GLenum GLenum GLenum GLenum scale