summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQPoint.java
blob: fc2f7e9f315aeb9bd144eb700a0497e89f42e770 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//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();
}