/***************************************************************************
                            KGuiItem.java -  description
                             -------------------
    begin                : Sun Jan 27 16:22:17 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd.
    email                : Richard_Dale@tipitina.demon.co.uk
    generated by         : duke@tipitina on Sun Jan 27 16:22:17 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;

public class  KGuiItem implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;

	protected KGuiItem(Class dummy){}

	private native void newKGuiItem();
	public KGuiItem() {
		newKGuiItem();
	}
	private native void newKGuiItem( String text, String iconName, String toolTip, String whatsThis);
	public KGuiItem( String text, String iconName, String toolTip, String whatsThis) {
		newKGuiItem( text, iconName, toolTip, whatsThis);
	}
	private native void newKGuiItem( String text);
	public KGuiItem( String text) {
		newKGuiItem( text);
	}
	private native void newKGuiItem( String text, QIconSet iconSet, String toolTip, String whatsThis);
	public KGuiItem( String text, QIconSet iconSet, String toolTip, String whatsThis) {
		newKGuiItem( text, iconSet, toolTip, whatsThis);
	}
	private native void newKGuiItem( String text, QIconSet iconSet);
	public KGuiItem( String text, QIconSet iconSet) {
		newKGuiItem( text, iconSet);
	}
	private native void newKGuiItem( KGuiItem rhs);
	public KGuiItem( KGuiItem rhs) {
		newKGuiItem( rhs);
	}
	protected native void finalize() throws InternalError;
	public native void dispose();
	public native boolean isDisposed();
	public native String text();
	public native String plainText();
	public native QIconSet iconSet();
	public native String iconName();
	public native String toolTip();
	public native String whatsThis();
	public native boolean isEnabled();
	public native boolean hasIconSet();
	public native void setText( String text);
	public native void setIconSet( QIconSet iconset);
	public native void setIconName( String iconName);
	public native void setToolTip( String tooltip);
	public native void setWhatsThis( String whatsThis);
	public native void setEnabled( boolean enable);
}
