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

import org.kde.qt.Qt;

/**
 See {@link QAccelSignals} for signals emitted by QAccel
*/
public class QAccel extends QObject  {
	protected QAccel(Class dummy){super((Class) null);}
	public native QMetaObject metaObject();
	public native String className();
	public QAccel(QWidget parent, String name) {
		super((Class) null);
		newQAccel(parent,name);
	}
	private native void newQAccel(QWidget parent, String name);
	public QAccel(QWidget parent) {
		super((Class) null);
		newQAccel(parent);
	}
	private native void newQAccel(QWidget parent);
	public QAccel(QWidget watch, QObject parent, String name) {
		super((Class) null);
		newQAccel(watch,parent,name);
	}
	private native void newQAccel(QWidget watch, QObject parent, String name);
	public QAccel(QWidget watch, QObject parent) {
		super((Class) null);
		newQAccel(watch,parent);
	}
	private native void newQAccel(QWidget watch, QObject parent);
	public native boolean isEnabled();
	public native void setEnabled(boolean arg1);
	public native int count();
	public native int insertItem(QKeySequence key, int id);
	public native int insertItem(QKeySequence key);
	public native void removeItem(int id);
	public native void clear();
	public native QKeySequence key(int id);
	public native int findKey(QKeySequence key);
	public native boolean isItemEnabled(int id);
	public native void setItemEnabled(int id, boolean enable);
	public native boolean connectItem(int id, QObject receiver, String member);
	public native boolean disconnectItem(int id, QObject 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 QKeySequence shortcutKey(String arg1);
	public static native String keyToString(QKeySequence k);
	public static native QKeySequence stringToKey(String arg1);
	public native boolean eventFilter(QObject arg1, QEvent 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();
}
