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

import org.trinitydesktop.qt.TQt;

public class TQKeyEvent extends TQEvent  {
	protected TQKeyEvent(Class dummy){super((Class) null);}
	public TQKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep, short count) {
		super((Class) null);
		newTQKeyEvent(type,key,ascii,state,text,autorep,count);
	}
	private native void newTQKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep, short count);
	public TQKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep) {
		super((Class) null);
		newTQKeyEvent(type,key,ascii,state,text,autorep);
	}
	private native void newTQKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep);
	public TQKeyEvent(int type, int key, int ascii, int state, String text) {
		super((Class) null);
		newTQKeyEvent(type,key,ascii,state,text);
	}
	private native void newTQKeyEvent(int type, int key, int ascii, int state, String text);
	public TQKeyEvent(int type, int key, int ascii, int state) {
		super((Class) null);
		newTQKeyEvent(type,key,ascii,state);
	}
	private native void newTQKeyEvent(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();
}
