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

import org.trinitydesktop.qt.Qt;

/**
 See {@link TQActionSignals} for signals emitted by TQAction
*/
public class TQAction extends TQObject  {
	protected TQAction(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	public TQAction(TQObject parent, String name) {
		super((Class) null);
		newTQAction(parent,name);
	}
	private native void newTQAction(TQObject parent, String name);
	public TQAction(TQObject parent) {
		super((Class) null);
		newTQAction(parent);
	}
	private native void newTQAction(TQObject parent);
	public TQAction(String menuText, TQKeySequence accel, TQObject parent, String name) {
		super((Class) null);
		newTQAction(menuText,accel,parent,name);
	}
	private native void newTQAction(String menuText, TQKeySequence accel, TQObject parent, String name);
	public TQAction(String menuText, TQKeySequence accel, TQObject parent) {
		super((Class) null);
		newTQAction(menuText,accel,parent);
	}
	private native void newTQAction(String menuText, TQKeySequence accel, TQObject parent);
	public TQAction(TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name) {
		super((Class) null);
		newTQAction(icon,menuText,accel,parent,name);
	}
	private native void newTQAction(TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name);
	public TQAction(TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent) {
		super((Class) null);
		newTQAction(icon,menuText,accel,parent);
	}
	private native void newTQAction(TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent);
	public TQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name, boolean toggle) {
		super((Class) null);
		newTQAction(text,icon,menuText,accel,parent,name,toggle);
	}
	private native void newTQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name, boolean toggle);
	public TQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name) {
		super((Class) null);
		newTQAction(text,icon,menuText,accel,parent,name);
	}
	private native void newTQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name);
	public TQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent) {
		super((Class) null);
		newTQAction(text,icon,menuText,accel,parent);
	}
	private native void newTQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent);
	public TQAction(String text, String menuText, TQKeySequence accel, TQObject parent, String name, boolean toggle) {
		super((Class) null);
		newTQAction(text,menuText,accel,parent,name,toggle);
	}
	private native void newTQAction(String text, String menuText, TQKeySequence accel, TQObject parent, String name, boolean toggle);
	public TQAction(String text, String menuText, TQKeySequence accel, TQObject parent, String name) {
		super((Class) null);
		newTQAction(text,menuText,accel,parent,name);
	}
	private native void newTQAction(String text, String menuText, TQKeySequence accel, TQObject parent, String name);
	public TQAction(String text, String menuText, TQKeySequence accel, TQObject parent) {
		super((Class) null);
		newTQAction(text,menuText,accel,parent);
	}
	private native void newTQAction(String text, String menuText, TQKeySequence accel, TQObject parent);
	public TQAction(TQObject parent, String name, boolean toggle) {
		super((Class) null);
		newTQAction(parent,name,toggle);
	}
	private native void newTQAction(TQObject parent, String name, boolean toggle);
	public native void setIconSet(TQIconSet arg1);
	public native TQIconSet iconSet();
	public native void setText(String arg1);
	public native String text();
	public native void setMenuText(String arg1);
	public native String menuText();
	public native void setToolTip(String arg1);
	public native String toolTip();
	public native void setStatusTip(String arg1);
	public native String statusTip();
	public native void setWhatsThis(String arg1);
	public native String whatsThis();
	public native void setAccel(TQKeySequence key);
	public native TQKeySequence accel();
	public native void setToggleAction(boolean arg1);
	public native boolean isToggleAction();
	public native boolean isOn();
	public native boolean isEnabled();
	public native boolean isVisible();
	public native boolean addTo(TQWidget arg1);
	public native boolean removeFrom(TQWidget arg1);
	public native void activate();
	public native void toggle();
	public native void setOn(boolean arg1);
	public native void setEnabled(boolean arg1);
	public native void setDisabled(boolean arg1);
	public native void setVisible(boolean arg1);
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	protected native void addedTo(TQWidget actionWidget, TQWidget container);
	protected native void addedTo(int index, TQPopupMenu menu);
	/** 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();
}
