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

import org.trinitydesktop.qt.TQt;

/**
 See {@link TQAccelSignals} for signals emitted by TQAccel
*/
public class TQAccel extends TQObject  {
	protected TQAccel(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	public TQAccel(TQWidget parent, String name) {
		super((Class) null);
		newTQAccel(parent,name);
	}
	private native void newTQAccel(TQWidget parent, String name);
	public TQAccel(TQWidget parent) {
		super((Class) null);
		newTQAccel(parent);
	}
	private native void newTQAccel(TQWidget parent);
	public TQAccel(TQWidget watch, TQObject parent, String name) {
		super((Class) null);
		newTQAccel(watch,parent,name);
	}
	private native void newTQAccel(TQWidget watch, TQObject parent, String name);
	public TQAccel(TQWidget watch, TQObject parent) {
		super((Class) null);
		newTQAccel(watch,parent);
	}
	private native void newTQAccel(TQWidget watch, TQObject parent);
	public native boolean isEnabled();
	public native void setEnabled(boolean arg1);
	public native int count();
	public native int insertItem(TQKeySequence key, int id);
	public native int insertItem(TQKeySequence key);
	public native void removeItem(int id);
	public native void clear();
	public native TQKeySequence key(int id);
	public native int findKey(TQKeySequence key);
	public native boolean isItemEnabled(int id);
	public native void setItemEnabled(int id, boolean enable);
	public native boolean connectItem(int id, TQObject receiver, String member);
	public native boolean disconnectItem(int id, TQObject receiver, String member);
	public native void repairEventFilter();
	public native void setWhatsThis(int id, String arg2);
	public native String whatsThis(int id);
	public native void setIgnoreWhatsThis(boolean arg1);
	public native boolean ignoreWhatsThis();
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	public static native TQKeySequence shortcutKey(String arg1);
	public static native String keyToString(TQKeySequence k);
	public static native TQKeySequence stringToKey(String arg1);
	public native boolean eventFilter(TQObject arg1, TQEvent arg2);
	/** 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();
}
