KDEUI
KIcon Class Reference
A wrapper around QIcon that provides KDE icon features. More...
#include <kicon.h>
Inherits QIcon.
Public Member Functions | |
KIcon () | |
KIcon (const QIcon ©) | |
KIcon (const QString &iconName) | |
KIcon (const QString &iconName, KIconLoader *iconLoader) | |
KIcon (const QString &iconName, KIconLoader *iconLoader, const QStringList &overlays) | |
KIcon & | operator= (const KIcon &other) |
~KIcon () |
Detailed Description
A wrapper around QIcon that provides KDE icon features.
KIcon is a convenience class for creating a QIcon with an appropriate KIconEngine to perform loading and rendering. KIcons thus adhere to KDE style and effect standards.
- See also:
- KIconEngine, KIconLoader, KIconTheme
Definition at line 40 of file kicon.h.
Constructor & Destructor Documentation
KIcon::KIcon | ( | const QString & | iconName, | |
KIconLoader * | iconLoader, | |||
const QStringList & | overlays | |||
) | [explicit] |
Constructor which takes a kde style icon name, and optionally a custom icon loader.
- Parameters:
-
iconName The name of the kde icon to load iconLoader The icon loader to use in loading this icon, or null to use the default global icon loader. overlays A list of overlays to apply to this icon. They are loaded from the emblems icons and up to four (one per corner) is currently supported
KIcon::KIcon | ( | const QString & | iconName, | |
KIconLoader * | iconLoader | |||
) | [explicit] |
KIcon::KIcon | ( | const QString & | iconName | ) | [explicit] |
KIcon::KIcon | ( | const QIcon & | copy | ) | [explicit] |
Member Function Documentation
The documentation for this class was generated from the following files: