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

import org.kde.qt.Qt;

public class QKeyEvent extends QEvent  {
	protected QKeyEvent(Class dummy){super((Class) null);}
	public QKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep, short count) {
		super((Class) null);
		newQKeyEvent(type,key,ascii,state,text,autorep,count);
	}
	private native void newQKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep, short count);
	public QKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep) {
		super((Class) null);
		newQKeyEvent(type,key,ascii,state,text,autorep);
	}
	private native void newQKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep);
	public QKeyEvent(int type, int key, int ascii, int state, String text) {
		super((Class) null);
		newQKeyEvent(type,key,ascii,state,text);
	}
	private native void newQKeyEvent(int type, int key, int ascii, int state, String text);
	public QKeyEvent(int type, int key, int ascii, int state) {
		super((Class) null);
		newQKeyEvent(type,key,ascii,state);
	}
	private native void newQKeyEvent(int type, int key, int ascii, int state);
	public native int key();
	public native int ascii();
	public native int state();
	public native int stateAfter();
	public native boolean isAccepted();
	public native String text();
	public native boolean isAutoRepeat();
	public native int count();
	public native void accept();
	public native void ignore();
	/** 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();
}
