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

import org.trinitydesktop.qt.TQt;

public class TQMouseEvent extends TQEvent  {
	protected TQMouseEvent(Class dummy){super((Class) null);}
	public TQMouseEvent(int type, TQPoint pos, int button, int state) {
		super((Class) null);
		newTQMouseEvent(type,pos,button,state);
	}
	private native void newTQMouseEvent(int type, TQPoint pos, int button, int state);
	public TQMouseEvent(int type, TQPoint pos, TQPoint globalPos, int button, int state) {
		super((Class) null);
		newTQMouseEvent(type,pos,globalPos,button,state);
	}
	private native void newTQMouseEvent(int type, TQPoint pos, TQPoint globalPos, int button, int state);
	public native TQPoint pos();
	public native TQPoint globalPos();
	public native int x();
	public native int y();
	public native int globalX();
	public native int globalY();
	public native int button();
	public native int state();
	public native int stateAfter();
	public native boolean isAccepted();
	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();
}
