summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/TQRegion.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/org/kde/qt/TQRegion.java')
-rw-r--r--qtjava/javalib/org/kde/qt/TQRegion.java81
1 files changed, 81 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/TQRegion.java b/qtjava/javalib/org/kde/qt/TQRegion.java
new file mode 100644
index 00000000..2e9acd5d
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/TQRegion.java
@@ -0,0 +1,81 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+public class TQRegion implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected TQRegion(Class dummy){}
+
+ public static final int Rectangle = 0;
+ public static final int Ellipse = 1;
+
+ public TQRegion() {
+ newTQRegion();
+ }
+ private native void newTQRegion();
+ public TQRegion(int x, int y, int w, int h, int arg5) {
+ newTQRegion(x,y,w,h,arg5);
+ }
+ private native void newTQRegion(int x, int y, int w, int h, int arg5);
+ public TQRegion(int x, int y, int w, int h) {
+ newTQRegion(x,y,w,h);
+ }
+ private native void newTQRegion(int x, int y, int w, int h);
+ public TQRegion(TQRect arg1, int arg2) {
+ newTQRegion(arg1,arg2);
+ }
+ private native void newTQRegion(TQRect arg1, int arg2);
+ public TQRegion(TQRect arg1) {
+ newTQRegion(arg1);
+ }
+ private native void newTQRegion(TQRect arg1);
+ public TQRegion(TQPointArray arg1, boolean winding) {
+ newTQRegion(arg1,winding);
+ }
+ private native void newTQRegion(TQPointArray arg1, boolean winding);
+ public TQRegion(TQPointArray arg1) {
+ newTQRegion(arg1);
+ }
+ private native void newTQRegion(TQPointArray arg1);
+ public TQRegion(TQRegion arg1) {
+ newTQRegion(arg1);
+ }
+ private native void newTQRegion(TQRegion arg1);
+ public TQRegion(TQBitmap arg1) {
+ newTQRegion(arg1);
+ }
+ private native void newTQRegion(TQBitmap arg1);
+ public native boolean isNull();
+ public native boolean isEmpty();
+ public native boolean contains(TQPoint p);
+ public native boolean contains(TQRect r);
+ public native void translate(int dx, int dy);
+ public native TQRegion unite(TQRegion arg1);
+ public native TQRegion intersect(TQRegion arg1);
+ public native TQRegion subtract(TQRegion arg1);
+ public native TQRegion eor(TQRegion arg1);
+ public native TQRect boundingRect();
+ public native ArrayList rects();
+ public native void setRects(TQRect arg1, int arg2);
+ public native TQRegion op_or(TQRegion arg1);
+ public native TQRegion op_plus(TQRegion arg1);
+ public native TQRegion op_and(TQRegion arg1);
+ public native TQRegion op_minus(TQRegion arg1);
+ public native TQRegion op_xor(TQRegion arg1);
+ public native TQRegion op_or_assign(TQRegion arg1);
+ public native TQRegion op_plus_assign(TQRegion arg1);
+ public native TQRegion op_and_assign(TQRegion arg1);
+ public native TQRegion op_minus_assign(TQRegion arg1);
+ public native TQRegion op_xor_assign(TQRegion arg1);
+ public native boolean op_equals(TQRegion arg1);
+ public native boolean op_not_equals(TQRegion r);
+ /** 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();
+}