/***************************************************************************
                            KIcon.java -  description
                             -------------------
    begin                : Tue Jan 29 14:50:06 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd.
    email                : Richard_Dale@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Jan 29 14:50:06 2002, using kalyptus 0.9.
 ***************************************************************************/

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

package org.kde.koala;

import org.kde.qt.*;
import java.util.*;
import java.lang.Error;

/**

 One icon as found by KIconTheme. Also serves as a namespace containing
 icon related constants.
 
 @short 
 One icon as found by KIconTheme.
*/
public class  KIcon implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;

	protected KIcon(Class dummy){}

	private native void newKIcon();
	public KIcon() {
		newKIcon();
	}

/**  Return true if this icon is valid, false otherwise. 
*/
	public native boolean isValid();
	public static final int Any = 0;
	public static final int Action = 1;
	public static final int Application = 2;
	public static final int Device = 3;
	public static final int FileSystem = 4;
	public static final int MimeType = 5;
	public static final int Fixed = 0;
	public static final int Scalable = 1;
	public static final int Threshold = 2;
	public static final int MatchExact = 0;
	public static final int MatchBest = 1;
	public static final int NoGroup = -1;
	public static final int Desktop = 0;
	public static final int FirstGroup = Desktop;
	public static final int Toolbar = 0;
	public static final int MainToolbar = 1;
	public static final int Small = 2;
	public static final int Panel = 3;
	public static final int LastGroup = 4;
	public static final int User = 5;
	public static final int SizeSmall = 16;
	public static final int SizeMedium = 32;
	public static final int SizeLarge = 48;
	public static final int DefaultState = 0;
	public static final int ActiveState = 1;
	public static final int DisabledState = 2;
	public static final int LastState = 3;
	public static final int LockOverlay = 0x100;
	public static final int ZipOverlay = 0x200;
	public static final int LinkOverlay = 0x400;
	public static final int HiddenOverlay = 0x800;
	public static final int OverlayMask = ~0xff;
}
