KIcon Class Reference
#include <kicontheme.h>
Detailed Description
One icon as found by KIconTheme.Also serves as a namespace containing icon related constants.
- See also:
- KIconEffect
Definition at line 35 of file kicontheme.h.
Public Types | |
enum | Context { Any, Action, Application, Device, FileSystem, MimeType } |
enum | Type { Fixed, Scalable, Threshold } |
enum | MatchType { MatchExact, MatchBest } |
enum | Group { NoGroup = -1, Desktop = 0, FirstGroup = 0, Toolbar, MainToolbar, Small, Panel, LastGroup, User } |
enum | StdSizes { SizeSmall = 16, SizeSmallMedium = 22, SizeMedium = 32, SizeLarge = 48, SizeHuge = 64, SizeEnormous = 128 } |
enum | States { DefaultState, ActiveState, DisabledState, LastState } |
enum | Overlays { LockOverlay = 0x100, ZipOverlay = 0x200, LinkOverlay = 0x400, HiddenOverlay = 0x800, ShareOverlay = 0x1000, OverlayMask = ~0xff } |
Public Member Functions | |
bool | isValid () const |
Public Attributes | |
int | size |
Context | context |
Type | type |
int | threshold |
QString | path |
Member Enumeration Documentation
|
Defines the context of the icon.
Definition at line 48 of file kicontheme.h. |
|
The group of the icon.
Definition at line 80 of file kicontheme.h. |
|
The type of a match.
Definition at line 69 of file kicontheme.h. |
|
This defines an overlay, a semi-transparent image that is projected onto the icon. They are used to show that the file represented by the icon is, for example, locked, zipped or hidden.
Definition at line 133 of file kicontheme.h. |
|
Defines the possible states of an icon.
Definition at line 122 of file kicontheme.h. |
|
These are the standard sizes for icons.
Definition at line 104 of file kicontheme.h. |
|
The type of the icon.
Definition at line 60 of file kicontheme.h. |
Member Function Documentation
|
Return true if this icon is valid, false otherwise.
Definition at line 43 of file kicontheme.h. |
Member Data Documentation
|
The context of the icon.
Definition at line 150 of file kicontheme.h. |
|
The full path of the icon.
Definition at line 165 of file kicontheme.h. |
|
The size in pixels of the icon.
Definition at line 145 of file kicontheme.h. |
|
The threshold in case type == Threshold.
Definition at line 160 of file kicontheme.h. |
|
The type of the icon: Fixed, Scalable or Threshold.
Definition at line 155 of file kicontheme.h. |
The documentation for this class was generated from the following file: