/***************************************************************************
                            kde_KIcon.h -  description
                             -------------------
    begin                : Wed Feb  6 15:12:26 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Feb  6 15:12:26 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef KDE_KICON
#define KDE_KICON

#include <qtc/qtc_types.h>

#include <kdec/kde_types.h>

/**

 One icon as found by KIconTheme. Also serves as a namespace containing
 icon related constants.
 
 @short 
 One icon as found by KIconTheme.
*/
#define KICON_Any	0
#define KICON_Action	1
#define KICON_Application	2
#define KICON_Device	3
#define KICON_FileSystem	4
#define KICON_MimeType	5
#define KICON_Fixed	0
#define KICON_Scalable	1
#define KICON_Threshold	2
#define KICON_MatchExact	0
#define KICON_MatchBest	1
#define KICON_NoGroup	-1
#define KICON_Desktop	0
#define KICON_FirstGroup	KICON_Desktop
#define KICON_Toolbar	0
#define KICON_MainToolbar	1
#define KICON_Small	2
#define KICON_Panel	3
#define KICON_LastGroup	4
#define KICON_User	5
#define KICON_SizeSmall	16
#define KICON_SizeMedium	32
#define KICON_SizeLarge	48
#define KICON_DefaultState	0
#define KICON_ActiveState	1
#define KICON_DisabledState	2
#define KICON_LastState	3
#define KICON_LockOverlay	0x100
#define KICON_ZipOverlay	0x200
#define KICON_LinkOverlay	0x400
#define KICON_HiddenOverlay	0x800
#define KICON_OverlayMask	~0xff
kde_KIcon * kde_new_KIcon();

/**  Return true if this icon is valid, false otherwise. 
*/
int kde_KIcon_isValid(kde_KIcon* instPointer);

#endif
