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

import org.trinitydesktop.qt.TQt;

public class TQPoint implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected TQPoint(Class dummy){}

	public TQPoint() {
		newTQPoint();
	}
	private native void newTQPoint();
	public TQPoint(int xpos, int ypos) {
		newTQPoint(xpos,ypos);
	}
	private native void newTQPoint(int xpos, int ypos);
	public native boolean isNull();
	public native int x();
	public native int y();
	public native void setX(int x);
	public native void setY(int y);
	public native int manhattanLength();
	public native short rx();
	public native short ry();
	public native TQPoint op_plus_assign(TQPoint p);
	public native TQPoint op_minus_assign(TQPoint p);
	public native TQPoint op_mult_assign(int c);
	public native TQPoint op_mult_assign(double c);
	public native TQPoint op_div_assign(int c);
	public native TQPoint op_div_assign(double c);
	/** 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();
}
