KDEUI
KIcon Class Reference
#include <kicon.h>
Inheritance diagram for KIcon:

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 () | |
KIcon & | operator= (const KIcon &other) |
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
Constructor & Destructor Documentation
◆ KIcon() [1/5]
|
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() [2/5]
|
explicit |
◆ KIcon() [3/5]
|
explicit |
◆ KIcon() [4/5]
|
explicit |
◆ KIcon() [5/5]
◆ ~KIcon()
Member Function Documentation
◆ operator=()
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.