/***************************************************************************
                            QMouseEvent.java -  description
                             -------------------
    begin                : Wed Nov 21 17:05:56 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 17:05:56 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

package org.kde.qt;

import java.util.*;
import java.lang.Error;

public class QMouseEvent extends QEvent  {
	protected QMouseEvent(Class dummy){super((Class) null);}

	private native void newQMouseEvent( int type, QPoint pos, int button, int state);
	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, QPoint globalPos, 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);
	}
	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();
}
