summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQRect.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/org/trinitydesktop/qt/TQRect.java')
-rw-r--r--qtjava/javalib/org/trinitydesktop/qt/TQRect.java96
1 files changed, 96 insertions, 0 deletions
diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQRect.java b/qtjava/javalib/org/trinitydesktop/qt/TQRect.java
new file mode 100644
index 00000000..1cae5ad1
--- /dev/null
+++ b/qtjava/javalib/org/trinitydesktop/qt/TQRect.java
@@ -0,0 +1,96 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.trinitydesktop.qt;
+
+import org.trinitydesktop.qt.Qt;
+
+public class TQRect implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected TQRect(Class dummy){}
+
+ public TQRect() {
+ newTQRect();
+ }
+ private native void newTQRect();
+ public TQRect(TQPoint topleft, TQPoint bottomright) {
+ newTQRect(topleft,bottomright);
+ }
+ private native void newTQRect(TQPoint topleft, TQPoint bottomright);
+ public TQRect(TQPoint topleft, TQSize size) {
+ newTQRect(topleft,size);
+ }
+ private native void newTQRect(TQPoint topleft, TQSize size);
+ public TQRect(int left, int top, int width, int height) {
+ newTQRect(left,top,width,height);
+ }
+ private native void newTQRect(int left, int top, int width, int height);
+ public native boolean isNull();
+ public native boolean isEmpty();
+ public native boolean isValid();
+ public native TQRect normalize();
+ public native int left();
+ public native int top();
+ public native int right();
+ public native int bottom();
+ public native short rLeft();
+ public native short rTop();
+ public native short rRight();
+ public native short rBottom();
+ public native int x();
+ public native int y();
+ public native void setLeft(int pos);
+ public native void setTop(int pos);
+ public native void setRight(int pos);
+ public native void setBottom(int pos);
+ public native void setX(int x);
+ public native void setY(int y);
+ public native void setTopLeft(TQPoint p);
+ public native void setBottomRight(TQPoint p);
+ public native void setTopRight(TQPoint p);
+ public native void setBottomLeft(TQPoint p);
+ public native TQPoint topLeft();
+ public native TQPoint bottomRight();
+ public native TQPoint topRight();
+ public native TQPoint bottomLeft();
+ public native TQPoint center();
+ public native void rect(int[] x, int[] y, int[] w, int[] h);
+ public native void coords(int[] x1, int[] y1, int[] x2, int[] y2);
+ public native void moveLeft(int pos);
+ public native void moveTop(int pos);
+ public native void moveRight(int pos);
+ public native void moveBottom(int pos);
+ public native void moveTopLeft(TQPoint p);
+ public native void moveBottomRight(TQPoint p);
+ public native void moveTopRight(TQPoint p);
+ public native void moveBottomLeft(TQPoint p);
+ public native void moveCenter(TQPoint p);
+ public native void moveBy(int dx, int dy);
+ public native void setRect(int x, int y, int w, int h);
+ public native void setCoords(int x1, int y1, int x2, int y2);
+ public native void addCoords(int x1, int y1, int x2, int y2);
+ public native TQSize size();
+ public native int width();
+ public native int height();
+ public native void setWidth(int w);
+ public native void setHeight(int h);
+ public native void setSize(TQSize s);
+ public native TQRect op_or(TQRect r);
+ public native TQRect op_and(TQRect r);
+ public native TQRect op_or_assign(TQRect r);
+ public native TQRect op_and_assign(TQRect r);
+ public native boolean contains(TQPoint p, boolean proper);
+ public native boolean contains(TQPoint p);
+ public native boolean contains(int x, int y);
+ public native boolean contains(int x, int y, boolean proper);
+ public native boolean contains(TQRect r, boolean proper);
+ public native boolean contains(TQRect r);
+ public native TQRect unite(TQRect r);
+ public native TQRect intersect(TQRect r);
+ public native boolean intersects(TQRect 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();
+}