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

import org.kde.qt.Qt;

public class QMouseEvent extends QEvent  {
	protected QMouseEvent(Class dummy){super((Class) null);}
	public QMouseEvent(int type, QPoint pos, int button, int state) {
		super((Class) null);
		newQMouseEvent(type,pos,button,state);
	}
	private native void newQMouseEvent(int type, QPoint pos, int button, int state);
	public QMouseEvent(int type, QPoint pos, QPoint globalPos, int button, int state) {
		super((Class) null);
		newQMouseEvent(type,pos,globalPos,button,state);
	}
	private native void newQMouseEvent(int type, QPoint pos, QPoint globalPos, int button, int state);
	public native QPoint pos();
	public native QPoint 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();
}
