//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.koala;

import org.trinitydesktop.qt.Qt;
import org.trinitydesktop.qt.QtSupport;
import org.trinitydesktop.qt.TQIconSet;

/**

		@author Holger Freyther <freyher@yahoo.com>

		@short An abstract class for GUI data such as ToolTip and Icon.

*/
public class KGuiItem implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected KGuiItem(Class dummy){}

	public KGuiItem() {
		newKGuiItem();
	}
	private native void newKGuiItem();
	public KGuiItem(String text, String iconName, String toolTip, String whatsThis) {
		newKGuiItem(text,iconName,toolTip,whatsThis);
	}
	private native void newKGuiItem(String text, String iconName, String toolTip, String whatsThis);
	public KGuiItem(String text, String iconName, String toolTip) {
		newKGuiItem(text,iconName,toolTip);
	}
	private native void newKGuiItem(String text, String iconName, String toolTip);
	public KGuiItem(String text, String iconName) {
		newKGuiItem(text,iconName);
	}
	private native void newKGuiItem(String text, String iconName);
	public KGuiItem(String text) {
		newKGuiItem(text);
	}
	private native void newKGuiItem(String text);
	public KGuiItem(String text, TQIconSet iconSet, String toolTip, String whatsThis) {
		newKGuiItem(text,iconSet,toolTip,whatsThis);
	}
	private native void newKGuiItem(String text, TQIconSet iconSet, String toolTip, String whatsThis);
	public KGuiItem(String text, TQIconSet iconSet, String toolTip) {
		newKGuiItem(text,iconSet,toolTip);
	}
	private native void newKGuiItem(String text, TQIconSet iconSet, String toolTip);
	public KGuiItem(String text, TQIconSet iconSet) {
		newKGuiItem(text,iconSet);
	}
	private native void newKGuiItem(String text, TQIconSet iconSet);
	public KGuiItem(KGuiItem rhs) {
		newKGuiItem(rhs);
	}
	private native void newKGuiItem(KGuiItem rhs);
	public native String text();
	public native String plainText();
	public native TQIconSet iconSet(int arg1, int size, TDEInstanceInterface instance);
	public native TQIconSet iconSet(int arg1, int size);
	public native TQIconSet iconSet(int arg1);
	public native TQIconSet iconSet();
	public native String iconName();
	public native String toolTip();
	public native String whatsThis();
	public native boolean isEnabled();
	/**
		 returns whether an icon is defined, doesn't tell if it really exists
		     		@short    returns whether an icon is defined, doesn't tell if it really exists
	*/
	public native boolean hasIcon();
	public native boolean hasIconSet();
	public native void setText(String text);
	public native void setIconSet(TQIconSet 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);
	/** Deletes the wrapped C++ instance */
	protected native void finalize() throws InternalError;
	/** Delete the wrapped C++ instance ahead of finalize() */
	public native void dispose();
	/** Has the wrapped C++ instance been deleted? */
	public native boolean isDisposed();
}
