|
| KIconEngine (const QString &iconName, const KIconColors &colors, KIconLoader *iconLoader) |
| Constructs an icon engine for a KDE named icon with a specific palette.
|
|
| KIconEngine (const QString &iconName, KIconLoader *iconLoader) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
| KIconEngine (const QString &iconName, KIconLoader *iconLoader, const QStringList &overlays) |
| Constructs an icon engine for a KDE named icon.
|
|
| ~KIconEngine () override |
| Destructor.
|
|
QSize | actualSize (const QSize &size, QIcon::Mode mode, QIcon::State state) override |
| Reimplementation.
|
|
QList< QSize > | availableSizes (QIcon::Mode mode, QIcon::State state) override |
| Reimplementation.
|
|
QIconEngine * | clone () const override |
|
QString | iconName () override |
| Reimplementation.
|
|
QString | key () const override |
|
void | paint (QPainter *painter, const QRect &rect, QIcon::Mode mode, QIcon::State state) override |
| Reimplementation.
|
|
QPixmap | pixmap (const QSize &size, QIcon::Mode mode, QIcon::State state) override |
| Reimplementation.
|
|
bool | read (QDataStream &in) override |
|
void | virtual_hook (int id, void *data) override |
|
bool | write (QDataStream &out) const override |
|
A class to provide rendering of KDE icons.
Currently, this class is not much more than a wrapper around QIconEngine. However, it should not be difficult to extend with features such as SVG rendered icons.
Icon themes specifying a KDE-Extensions string list setting, will limit themselves to checking these extensions exclusively, in the order specified in the setting.
- Author
- Hamish Rodda rodda.nosp@m.@kde.nosp@m..org