Source Code (Use browser search to find items of interest.)
Class Index
kdelibs'KIcon (./kdelibs/kdecore/kicontheme.h:34)
class KIcon
{
public:
KIcon() { size = 0; }
/** Return true if this icon is valid, false otherwise. */
bool isValid() { return size != 0; }
enum Context { Any, Action, Application, Device, FileSystem, MimeType };
enum Types { Fixed, Scalable };
enum MatchType { MatchExact, MatchBest };
enum Group { NoGroup=-1, Desktop=0, Toolbar, MainToolbar, Small, LastGroup, User };
enum StdSizes { SizeSmall=16, SizeMedium=32, SizeLarge=48 };
enum States { DefaultState, ActiveState, DisabledState, LastState };
/** The size in pixels of the icon. */
int size;
/** The context of the icon. */
int context;
/** The type of the icon: Fixed or Scalable. */
int type;
/** The full path of the icon. */
QString path;
};
/**
* Class to use/access icon themes in KDE. This class is used by the
* iconloader but can be used by others too.
*/