summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QPoint.java
blob: d408b056e97c0dc3de98cbec16a932a20b78c3eb (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.kde.qt;

import org.kde.qt.Qt;

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

	public QPoint() {
		newQPoint();
	}
	private native void newQPoint();
	public QPoint(int xpos, int ypos) {
		newQPoint(xpos,ypos);
	}
	private native void newQPoint(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 QPoint op_plus_assign(QPoint p);
	public native QPoint op_minus_assign(QPoint p);
	public native QPoint op_mult_assign(int c);
	public native QPoint op_mult_assign(double c);
	public native QPoint op_div_assign(int c);
	public native QPoint 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();
}