56 #include <QtCore/qglobal.h> 57 #include <QtCore/qsize.h> 58 #include <QtCore/qlist.h> 59 #include <QtGui/qpixmap.h> 60 #include <QtGui/qicon.h> 61 #include <QtGui/qiconengine.h> 97 :pixmap(pm), size(pm.size()), mode(m), state(s){}
99 :
fileName(file), size(sz), mode(m), state(s){}
127 void virtual_hook(
int id,
void *
data);
134 friend class QIconThemeEngine;
The QPainter class performs low-level painting on widgets and other paint devices.
QVector< QPixmapIconEngineEntry > pixmaps
#define QT_END_NAMESPACE
This macro expands to.
The QAtomicInt class provides platform-independent atomic operations on integers. ...
State
This enum describes the state for which a pixmap is intended to be used.
QPixmapIconEngineEntry(const QString &file, const QSize &sz=QSize(), QIcon::Mode m=QIcon::Normal, QIcon::State s=QIcon::Off)
The QString class provides a Unicode character string.
QPixmapIconEngineEntry(const QPixmap &pm, QIcon::Mode m=QIcon::Normal, QIcon::State s=QIcon::Off)
#define QT_BEGIN_NAMESPACE
This macro expands to.
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
Mode
This enum type describes the mode for which a pixmap is intended to be used.
bool deref()
Atomically decrements the value of this QAtomicInt.
static const char * data(const QByteArray &arr)
The QIconEngineV2 class provides an abstract base class for QIcon renderers.
The QIconEngine class provides an abstract base class for QIcon renderers.
The QRect class defines a rectangle in the plane using integer precision.
The QPixmap class is an off-screen image representation that can be used as a paint device...
QDataStream & operator<<(QDataStream &s, const QAxBase &c)
The QSize class defines the size of a two-dimensional object using integer point precision.
The QDataStream class provides serialization of binary data to a QIODevice.
bool isNull() const
Returns true if this is a null pixmap; otherwise returns false.
static QString fileName(const QString &fileUrl)
The QIcon class provides scalable icons in different modes and states.