diff options
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QRect.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QRect.java | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/QRect.java b/qtjava/javalib/org/kde/qt/QRect.java new file mode 100644 index 00000000..cac71544 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/QRect.java @@ -0,0 +1,96 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class QRect implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected QRect(Class dummy){} + + public QRect() { + newQRect(); + } + private native void newQRect(); + public QRect(QPoint topleft, QPoint bottomright) { + newQRect(topleft,bottomright); + } + private native void newQRect(QPoint topleft, QPoint bottomright); + public QRect(QPoint topleft, QSize size) { + newQRect(topleft,size); + } + private native void newQRect(QPoint topleft, QSize size); + public QRect(int left, int top, int width, int height) { + newQRect(left,top,width,height); + } + private native void newQRect(int left, int top, int width, int height); + public native boolean isNull(); + public native boolean isEmpty(); + public native boolean isValid(); + public native QRect 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(QPoint p); + public native void setBottomRight(QPoint p); + public native void setTopRight(QPoint p); + public native void setBottomLeft(QPoint p); + public native QPoint topLeft(); + public native QPoint bottomRight(); + public native QPoint topRight(); + public native QPoint bottomLeft(); + public native QPoint 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(QPoint p); + public native void moveBottomRight(QPoint p); + public native void moveTopRight(QPoint p); + public native void moveBottomLeft(QPoint p); + public native void moveCenter(QPoint 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 QSize 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(QSize s); + public native QRect op_or(QRect r); + public native QRect op_and(QRect r); + public native QRect op_or_assign(QRect r); + public native QRect op_and_assign(QRect r); + public native boolean contains(QPoint p, boolean proper); + public native boolean contains(QPoint p); + public native boolean contains(int x, int y); + public native boolean contains(int x, int y, boolean proper); + public native boolean contains(QRect r, boolean proper); + public native boolean contains(QRect r); + public native QRect unite(QRect r); + public native QRect intersect(QRect r); + public native boolean intersects(QRect 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(); +} |