diff options
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QRegion.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QRegion.java | 98 |
1 files changed, 49 insertions, 49 deletions
diff --git a/qtjava/javalib/org/kde/qt/QRegion.java b/qtjava/javalib/org/kde/qt/QRegion.java index 85ff09e7..2e9acd5d 100644 --- a/qtjava/javalib/org/kde/qt/QRegion.java +++ b/qtjava/javalib/org/kde/qt/QRegion.java @@ -4,74 +4,74 @@ package org.kde.qt; import org.kde.qt.Qt; import java.util.ArrayList; -public class QRegion implements QtSupport { +public class TQRegion implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QRegion(Class dummy){} + protected TQRegion(Class dummy){} public static final int Rectangle = 0; public static final int Ellipse = 1; - public QRegion() { - newQRegion(); + public TQRegion() { + newTQRegion(); } - private native void newQRegion(); - public QRegion(int x, int y, int w, int h, int arg5) { - newQRegion(x,y,w,h,arg5); + 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 newQRegion(int x, int y, int w, int h, int arg5); - public QRegion(int x, int y, int w, int h) { - newQRegion(x,y,w,h); + 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 newQRegion(int x, int y, int w, int h); - public QRegion(QRect arg1, int arg2) { - newQRegion(arg1,arg2); + private native void newTQRegion(int x, int y, int w, int h); + public TQRegion(TQRect arg1, int arg2) { + newTQRegion(arg1,arg2); } - private native void newQRegion(QRect arg1, int arg2); - public QRegion(QRect arg1) { - newQRegion(arg1); + private native void newTQRegion(TQRect arg1, int arg2); + public TQRegion(TQRect arg1) { + newTQRegion(arg1); } - private native void newQRegion(QRect arg1); - public QRegion(QPointArray arg1, boolean winding) { - newQRegion(arg1,winding); + private native void newTQRegion(TQRect arg1); + public TQRegion(TQPointArray arg1, boolean winding) { + newTQRegion(arg1,winding); } - private native void newQRegion(QPointArray arg1, boolean winding); - public QRegion(QPointArray arg1) { - newQRegion(arg1); + private native void newTQRegion(TQPointArray arg1, boolean winding); + public TQRegion(TQPointArray arg1) { + newTQRegion(arg1); } - private native void newQRegion(QPointArray arg1); - public QRegion(QRegion arg1) { - newQRegion(arg1); + private native void newTQRegion(TQPointArray arg1); + public TQRegion(TQRegion arg1) { + newTQRegion(arg1); } - private native void newQRegion(QRegion arg1); - public QRegion(QBitmap arg1) { - newQRegion(arg1); + private native void newTQRegion(TQRegion arg1); + public TQRegion(TQBitmap arg1) { + newTQRegion(arg1); } - private native void newQRegion(QBitmap arg1); + private native void newTQRegion(TQBitmap arg1); public native boolean isNull(); public native boolean isEmpty(); - public native boolean contains(QPoint p); - public native boolean contains(QRect r); + public native boolean contains(TQPoint p); + public native boolean contains(TQRect r); public native void translate(int dx, int dy); - public native QRegion unite(QRegion arg1); - public native QRegion intersect(QRegion arg1); - public native QRegion subtract(QRegion arg1); - public native QRegion eor(QRegion arg1); - public native QRect boundingRect(); + 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(QRect arg1, int arg2); - public native QRegion op_or(QRegion arg1); - public native QRegion op_plus(QRegion arg1); - public native QRegion op_and(QRegion arg1); - public native QRegion op_minus(QRegion arg1); - public native QRegion op_xor(QRegion arg1); - public native QRegion op_or_assign(QRegion arg1); - public native QRegion op_plus_assign(QRegion arg1); - public native QRegion op_and_assign(QRegion arg1); - public native QRegion op_minus_assign(QRegion arg1); - public native QRegion op_xor_assign(QRegion arg1); - public native boolean op_equals(QRegion arg1); - public native boolean op_not_equals(QRegion r); + 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() */ |