summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QPainter.java
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
commit9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch)
treec81c34dae2b3b1ea73801bf18a960265dc4207f7 /qtjava/javalib/org/kde/qt/QPainter.java
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt conversion
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QPainter.java')
-rw-r--r--qtjava/javalib/org/kde/qt/QPainter.java282
1 files changed, 141 insertions, 141 deletions
diff --git a/qtjava/javalib/org/kde/qt/QPainter.java b/qtjava/javalib/org/kde/qt/QPainter.java
index 146d06e6..8db7725c 100644
--- a/qtjava/javalib/org/kde/qt/QPainter.java
+++ b/qtjava/javalib/org/kde/qt/QPainter.java
@@ -3,8 +3,8 @@ package org.kde.qt;
import org.kde.qt.Qt;
-public class QPainter extends Qt {
- protected QPainter(Class dummy){super((Class) null);}
+public class TQPainter extends Qt {
+ protected TQPainter(Class dummy){super((Class) null);}
public static final int IsActive = 0x01;
public static final int ExtDev = 0x02;
public static final int IsStartingUp = 0x04;
@@ -32,78 +32,78 @@ public class QPainter extends Qt {
public static final int RTL = 1;
public static final int LTR = 2;
- public QPainter() {
+ public TQPainter() {
super((Class) null);
- newQPainter();
+ newTQPainter();
}
- private native void newQPainter();
- public QPainter(QPaintDeviceInterface arg1, boolean unclipped) {
+ private native void newTQPainter();
+ public TQPainter(TQPaintDeviceInterface arg1, boolean unclipped) {
super((Class) null);
- newQPainter(arg1,unclipped);
+ newTQPainter(arg1,unclipped);
}
- private native void newQPainter(QPaintDeviceInterface arg1, boolean unclipped);
- public QPainter(QPaintDeviceInterface arg1) {
+ private native void newTQPainter(TQPaintDeviceInterface arg1, boolean unclipped);
+ public TQPainter(TQPaintDeviceInterface arg1) {
super((Class) null);
- newQPainter(arg1);
+ newTQPainter(arg1);
}
- private native void newQPainter(QPaintDeviceInterface arg1);
- public QPainter(QPaintDeviceInterface arg1, QWidget arg2, boolean unclipped) {
+ private native void newTQPainter(TQPaintDeviceInterface arg1);
+ public TQPainter(TQPaintDeviceInterface arg1, TQWidget arg2, boolean unclipped) {
super((Class) null);
- newQPainter(arg1,arg2,unclipped);
+ newTQPainter(arg1,arg2,unclipped);
}
- private native void newQPainter(QPaintDeviceInterface arg1, QWidget arg2, boolean unclipped);
- public QPainter(QPaintDeviceInterface arg1, QWidget arg2) {
+ private native void newTQPainter(TQPaintDeviceInterface arg1, TQWidget arg2, boolean unclipped);
+ public TQPainter(TQPaintDeviceInterface arg1, TQWidget arg2) {
super((Class) null);
- newQPainter(arg1,arg2);
+ newTQPainter(arg1,arg2);
}
- private native void newQPainter(QPaintDeviceInterface arg1, QWidget arg2);
- public native boolean begin(QPaintDeviceInterface arg1, boolean unclipped);
- public native boolean begin(QPaintDeviceInterface arg1);
- public native boolean begin(QPaintDeviceInterface arg1, QWidget arg2, boolean unclipped);
- public native boolean begin(QPaintDeviceInterface arg1, QWidget arg2);
+ private native void newTQPainter(TQPaintDeviceInterface arg1, TQWidget arg2);
+ public native boolean begin(TQPaintDeviceInterface arg1, boolean unclipped);
+ public native boolean begin(TQPaintDeviceInterface arg1);
+ public native boolean begin(TQPaintDeviceInterface arg1, TQWidget arg2, boolean unclipped);
+ public native boolean begin(TQPaintDeviceInterface arg1, TQWidget arg2);
public native boolean end();
- public native QPaintDeviceInterface device();
+ public native TQPaintDeviceInterface device();
public native boolean isActive();
- public native void flush(QRegion region, int cm);
- public native void flush(QRegion region);
+ public native void flush(TQRegion region, int cm);
+ public native void flush(TQRegion region);
public native void flush();
public native void save();
public native void restore();
- public native QFontMetrics fontMetrics();
- public native QFontInfo fontInfo();
- public native QFont font();
- public native void setFont(QFont arg1);
- public native QPen pen();
- public native void setPen(QPen arg1);
+ public native TQFontMetrics fontMetrics();
+ public native TQFontInfo fontInfo();
+ public native TQFont font();
+ public native void setFont(TQFont arg1);
+ public native TQPen pen();
+ public native void setPen(TQPen arg1);
public native void setPen(int arg1);
- public native void setPen(QColor arg1);
- public native QBrush brush();
- public native void setBrush(QBrush arg1);
+ public native void setPen(TQColor arg1);
+ public native TQBrush brush();
+ public native void setBrush(TQBrush arg1);
public native void setBrush(int arg1);
- public native void setBrush(QColor arg1);
- public native QPoint pos();
- public native QColor backgroundColor();
- public native void setBackgroundColor(QColor arg1);
+ public native void setBrush(TQColor arg1);
+ public native TQPoint pos();
+ public native TQColor backgroundColor();
+ public native void setBackgroundColor(TQColor arg1);
public native int backgroundMode();
public native void setBackgroundMode(int arg1);
public native int rasterOp();
public native void setRasterOp(int arg1);
- public native QPoint brushOrigin();
+ public native TQPoint brushOrigin();
public native void setBrushOrigin(int x, int y);
- public native void setBrushOrigin(QPoint arg1);
+ public native void setBrushOrigin(TQPoint arg1);
public native boolean hasViewXForm();
public native boolean hasWorldXForm();
public native void setViewXForm(boolean arg1);
- public native QRect window();
- public native void setWindow(QRect arg1);
+ public native TQRect window();
+ public native void setWindow(TQRect arg1);
public native void setWindow(int x, int y, int w, int h);
- public native QRect viewport();
- public native void setViewport(QRect arg1);
+ public native TQRect viewport();
+ public native void setViewport(TQRect arg1);
public native void setViewport(int x, int y, int w, int h);
public native void setWorldXForm(boolean arg1);
- public native QWMatrix worldMatrix();
- public native void setWorldMatrix(QWMatrix arg1, boolean combine);
- public native void setWorldMatrix(QWMatrix arg1);
+ public native TQWMatrix worldMatrix();
+ public native void setWorldMatrix(TQWMatrix arg1, boolean combine);
+ public native void setWorldMatrix(TQWMatrix arg1);
public native void saveWorldMatrix();
public native void restoreWorldMatrix();
public native void scale(double sx, double sy);
@@ -113,129 +113,129 @@ public class QPainter extends Qt {
public native void resetXForm();
public native double translationX();
public native double translationY();
- public native Object xForm(QPoint arg1);
- public native Object xForm(QRect arg1);
- public native Object xForm(QPointArray arg1);
- public native Object xForm(QPointArray arg1, int index, int npoints);
- public native QPoint xFormDev(QPoint arg1);
- public native QRect xFormDev(QRect arg1);
- public native QPointArray xFormDev(QPointArray arg1);
- public native QPointArray xFormDev(QPointArray arg1, int index, int npoints);
+ public native Object xForm(TQPoint arg1);
+ public native Object xForm(TQRect arg1);
+ public native Object xForm(TQPointArray arg1);
+ public native Object xForm(TQPointArray arg1, int index, int npoints);
+ public native TQPoint xFormDev(TQPoint arg1);
+ public native TQRect xFormDev(TQRect arg1);
+ public native TQPointArray xFormDev(TQPointArray arg1);
+ public native TQPointArray xFormDev(TQPointArray arg1, int index, int npoints);
public native void setClipping(boolean arg1);
public native boolean hasClipping();
- public native QRegion clipRegion(int arg1);
- public native QRegion clipRegion();
- public native void setClipRect(QRect arg1, int arg2);
- public native void setClipRect(QRect arg1);
+ public native TQRegion clipRegion(int arg1);
+ public native TQRegion clipRegion();
+ public native void setClipRect(TQRect arg1, int arg2);
+ public native void setClipRect(TQRect arg1);
public native void setClipRect(int x, int y, int w, int h, int arg5);
public native void setClipRect(int x, int y, int w, int h);
- public native void setClipRegion(QRegion arg1, int arg2);
- public native void setClipRegion(QRegion arg1);
+ public native void setClipRegion(TQRegion arg1, int arg2);
+ public native void setClipRegion(TQRegion arg1);
public native void drawPoint(int x, int y);
- public native void drawPoint(QPoint arg1);
- public native void drawPoints(QPointArray a, int index, int npoints);
- public native void drawPoints(QPointArray a, int index);
- public native void drawPoints(QPointArray a);
+ public native void drawPoint(TQPoint arg1);
+ public native void drawPoints(TQPointArray a, int index, int npoints);
+ public native void drawPoints(TQPointArray a, int index);
+ public native void drawPoints(TQPointArray a);
public native void moveTo(int x, int y);
- public native void moveTo(QPoint arg1);
+ public native void moveTo(TQPoint arg1);
public native void lineTo(int x, int y);
- public native void lineTo(QPoint arg1);
+ public native void lineTo(TQPoint arg1);
public native void drawLine(int x1, int y1, int x2, int y2);
- public native void drawLine(QPoint arg1, QPoint arg2);
+ public native void drawLine(TQPoint arg1, TQPoint arg2);
public native void drawRect(int x, int y, int w, int h);
- public native void drawRect(QRect arg1);
+ public native void drawRect(TQRect arg1);
public native void drawWinFocusRect(int x, int y, int w, int h);
- public native void drawWinFocusRect(int x, int y, int w, int h, QColor bgColor);
- public native void drawWinFocusRect(QRect arg1);
- public native void drawWinFocusRect(QRect arg1, QColor bgColor);
+ public native void drawWinFocusRect(int x, int y, int w, int h, TQColor bgColor);
+ public native void drawWinFocusRect(TQRect arg1);
+ public native void drawWinFocusRect(TQRect arg1, TQColor bgColor);
public native void drawRoundRect(int x, int y, int w, int h, int arg5, int arg6);
public native void drawRoundRect(int x, int y, int w, int h, int arg5);
public native void drawRoundRect(int x, int y, int w, int h);
- public native void drawRoundRect(QRect arg1, int arg2, int arg3);
- public native void drawRoundRect(QRect arg1, int arg2);
- public native void drawRoundRect(QRect arg1);
+ public native void drawRoundRect(TQRect arg1, int arg2, int arg3);
+ public native void drawRoundRect(TQRect arg1, int arg2);
+ public native void drawRoundRect(TQRect arg1);
public native void drawEllipse(int x, int y, int w, int h);
- public native void drawEllipse(QRect arg1);
+ public native void drawEllipse(TQRect arg1);
public native void drawArc(int x, int y, int w, int h, int a, int alen);
- public native void drawArc(QRect arg1, int a, int alen);
+ public native void drawArc(TQRect arg1, int a, int alen);
public native void drawPie(int x, int y, int w, int h, int a, int alen);
- public native void drawPie(QRect arg1, int a, int alen);
+ public native void drawPie(TQRect arg1, int a, int alen);
public native void drawChord(int x, int y, int w, int h, int a, int alen);
- public native void drawChord(QRect arg1, int a, int alen);
- public native void drawLineSegments(QPointArray arg1, int index, int nlines);
- public native void drawLineSegments(QPointArray arg1, int index);
- public native void drawLineSegments(QPointArray arg1);
- public native void drawPolyline(QPointArray arg1, int index, int npoints);
- public native void drawPolyline(QPointArray arg1, int index);
- public native void drawPolyline(QPointArray arg1);
- public native void drawPolygon(QPointArray arg1, boolean winding, int index, int npoints);
- public native void drawPolygon(QPointArray arg1, boolean winding, int index);
- public native void drawPolygon(QPointArray arg1, boolean winding);
- public native void drawPolygon(QPointArray arg1);
- public native void drawConvexPolygon(QPointArray arg1, int index, int npoints);
- public native void drawConvexPolygon(QPointArray arg1, int index);
- public native void drawConvexPolygon(QPointArray arg1);
- public native void drawCubicBezier(QPointArray arg1, int index);
- public native void drawCubicBezier(QPointArray arg1);
- public native void drawPixmap(int x, int y, QPixmap arg3, int sx, int sy, int sw, int sh);
- public native void drawPixmap(int x, int y, QPixmap arg3, int sx, int sy, int sw);
- public native void drawPixmap(int x, int y, QPixmap arg3, int sx, int sy);
- public native void drawPixmap(int x, int y, QPixmap arg3, int sx);
- public native void drawPixmap(int x, int y, QPixmap arg3);
- public native void drawPixmap(QPoint arg1, QPixmap arg2, QRect sr);
- public native void drawPixmap(QPoint arg1, QPixmap arg2);
- public native void drawPixmap(QRect arg1, QPixmap arg2);
- public native void drawImage(int x, int y, QImage arg3, int sx, int sy, int sw, int sh, int conversionFlags);
- public native void drawImage(int x, int y, QImage arg3, int sx, int sy, int sw, int sh);
- public native void drawImage(int x, int y, QImage arg3, int sx, int sy, int sw);
- public native void drawImage(int x, int y, QImage arg3, int sx, int sy);
- public native void drawImage(int x, int y, QImage arg3, int sx);
- public native void drawImage(int x, int y, QImage arg3);
- public native void drawImage(QPoint arg1, QImage arg2, QRect sr, int conversionFlags);
- public native void drawImage(QPoint arg1, QImage arg2, QRect sr);
- public native void drawImage(QPoint arg1, QImage arg2, int conversion_flags);
- public native void drawImage(QPoint arg1, QImage arg2);
- public native void drawImage(QRect arg1, QImage arg2);
- public native void drawTiledPixmap(int x, int y, int w, int h, QPixmap arg5, int sx, int sy);
- public native void drawTiledPixmap(int x, int y, int w, int h, QPixmap arg5, int sx);
- public native void drawTiledPixmap(int x, int y, int w, int h, QPixmap arg5);
- public native void drawTiledPixmap(QRect arg1, QPixmap arg2, QPoint arg3);
- public native void drawTiledPixmap(QRect arg1, QPixmap arg2);
- public native void drawPicture(QPicture arg1);
- public native void drawPicture(int x, int y, QPicture arg3);
- public native void drawPicture(QPoint arg1, QPicture arg2);
- public native void fillRect(int x, int y, int w, int h, QBrush arg5);
- public native void fillRect(QRect arg1, QBrush arg2);
+ public native void drawChord(TQRect arg1, int a, int alen);
+ public native void drawLineSegments(TQPointArray arg1, int index, int nlines);
+ public native void drawLineSegments(TQPointArray arg1, int index);
+ public native void drawLineSegments(TQPointArray arg1);
+ public native void drawPolyline(TQPointArray arg1, int index, int npoints);
+ public native void drawPolyline(TQPointArray arg1, int index);
+ public native void drawPolyline(TQPointArray arg1);
+ public native void drawPolygon(TQPointArray arg1, boolean winding, int index, int npoints);
+ public native void drawPolygon(TQPointArray arg1, boolean winding, int index);
+ public native void drawPolygon(TQPointArray arg1, boolean winding);
+ public native void drawPolygon(TQPointArray arg1);
+ public native void drawConvexPolygon(TQPointArray arg1, int index, int npoints);
+ public native void drawConvexPolygon(TQPointArray arg1, int index);
+ public native void drawConvexPolygon(TQPointArray arg1);
+ public native void drawCubicBezier(TQPointArray arg1, int index);
+ public native void drawCubicBezier(TQPointArray arg1);
+ public native void drawPixmap(int x, int y, TQPixmap arg3, int sx, int sy, int sw, int sh);
+ public native void drawPixmap(int x, int y, TQPixmap arg3, int sx, int sy, int sw);
+ public native void drawPixmap(int x, int y, TQPixmap arg3, int sx, int sy);
+ public native void drawPixmap(int x, int y, TQPixmap arg3, int sx);
+ public native void drawPixmap(int x, int y, TQPixmap arg3);
+ public native void drawPixmap(TQPoint arg1, TQPixmap arg2, TQRect sr);
+ public native void drawPixmap(TQPoint arg1, TQPixmap arg2);
+ public native void drawPixmap(TQRect arg1, TQPixmap arg2);
+ public native void drawImage(int x, int y, TQImage arg3, int sx, int sy, int sw, int sh, int conversionFlags);
+ public native void drawImage(int x, int y, TQImage arg3, int sx, int sy, int sw, int sh);
+ public native void drawImage(int x, int y, TQImage arg3, int sx, int sy, int sw);
+ public native void drawImage(int x, int y, TQImage arg3, int sx, int sy);
+ public native void drawImage(int x, int y, TQImage arg3, int sx);
+ public native void drawImage(int x, int y, TQImage arg3);
+ public native void drawImage(TQPoint arg1, TQImage arg2, TQRect sr, int conversionFlags);
+ public native void drawImage(TQPoint arg1, TQImage arg2, TQRect sr);
+ public native void drawImage(TQPoint arg1, TQImage arg2, int conversion_flags);
+ public native void drawImage(TQPoint arg1, TQImage arg2);
+ public native void drawImage(TQRect arg1, TQImage arg2);
+ public native void drawTiledPixmap(int x, int y, int w, int h, TQPixmap arg5, int sx, int sy);
+ public native void drawTiledPixmap(int x, int y, int w, int h, TQPixmap arg5, int sx);
+ public native void drawTiledPixmap(int x, int y, int w, int h, TQPixmap arg5);
+ public native void drawTiledPixmap(TQRect arg1, TQPixmap arg2, TQPoint arg3);
+ public native void drawTiledPixmap(TQRect arg1, TQPixmap arg2);
+ public native void drawPicture(TQPicture arg1);
+ public native void drawPicture(int x, int y, TQPicture arg3);
+ public native void drawPicture(TQPoint arg1, TQPicture arg2);
+ public native void fillRect(int x, int y, int w, int h, TQBrush arg5);
+ public native void fillRect(TQRect arg1, TQBrush arg2);
public native void eraseRect(int x, int y, int w, int h);
- public native void eraseRect(QRect arg1);
+ public native void eraseRect(TQRect arg1);
public native void drawText(int x, int y, String arg3, int len, int dir);
public native void drawText(int x, int y, String arg3, int len);
public native void drawText(int x, int y, String arg3);
- public native void drawText(QPoint arg1, String arg2, int len, int dir);
- public native void drawText(QPoint arg1, String arg2, int len);
- public native void drawText(QPoint arg1, String arg2);
+ public native void drawText(TQPoint arg1, String arg2, int len, int dir);
+ public native void drawText(TQPoint arg1, String arg2, int len);
+ public native void drawText(TQPoint arg1, String arg2);
public native void drawText(int x, int y, String arg3, int pos, int len, int dir);
- public native void drawText(QPoint p, String arg2, int pos, int len, int dir);
- // void drawText(int arg1,int arg2,int arg3,int arg4,int arg5,const QString& arg6,int arg7,QRect* arg8,QTextParag** arg9); >>>> NOT CONVERTED
- public native void drawText(int x, int y, int w, int h, int flags, String arg6, int len, QRect br);
+ public native void drawText(TQPoint p, String arg2, int pos, int len, int dir);
+ // void drawText(int arg1,int arg2,int arg3,int arg4,int arg5,const TQString& arg6,int arg7,TQRect* arg8,TQTextParag** arg9); >>>> NOT CONVERTED
+ public native void drawText(int x, int y, int w, int h, int flags, String arg6, int len, TQRect br);
public native void drawText(int x, int y, int w, int h, int flags, String arg6, int len);
public native void drawText(int x, int y, int w, int h, int flags, String arg6);
- // void drawText(const QRect& arg1,int arg2,const QString& arg3,int arg4,QRect* arg5,QTextParag** arg6); >>>> NOT CONVERTED
- public native void drawText(QRect arg1, int flags, String arg3, int len, QRect br);
- public native void drawText(QRect arg1, int flags, String arg3, int len);
- public native void drawText(QRect arg1, int flags, String arg3);
- // QRect boundingRect(int arg1,int arg2,int arg3,int arg4,int arg5,const QString& arg6,int arg7,QTextParag** arg8); >>>> NOT CONVERTED
- public native QRect boundingRect(int x, int y, int w, int h, int flags, String arg6, int len);
- public native QRect boundingRect(int x, int y, int w, int h, int flags, String arg6);
- // QRect boundingRect(const QRect& arg1,int arg2,const QString& arg3,int arg4,QTextParag** arg5); >>>> NOT CONVERTED
- public native QRect boundingRect(QRect arg1, int flags, String arg3, int len);
- public native QRect boundingRect(QRect arg1, int flags, String arg3);
+ // void drawText(const TQRect& arg1,int arg2,const TQString& arg3,int arg4,TQRect* arg5,TQTextParag** arg6); >>>> NOT CONVERTED
+ public native void drawText(TQRect arg1, int flags, String arg3, int len, TQRect br);
+ public native void drawText(TQRect arg1, int flags, String arg3, int len);
+ public native void drawText(TQRect arg1, int flags, String arg3);
+ // TQRect boundingRect(int arg1,int arg2,int arg3,int arg4,int arg5,const TQString& arg6,int arg7,TQTextParag** arg8); >>>> NOT CONVERTED
+ public native TQRect boundingRect(int x, int y, int w, int h, int flags, String arg6, int len);
+ public native TQRect boundingRect(int x, int y, int w, int h, int flags, String arg6);
+ // TQRect boundingRect(const TQRect& arg1,int arg2,const TQString& arg3,int arg4,TQTextParag** arg5); >>>> NOT CONVERTED
+ public native TQRect boundingRect(TQRect arg1, int flags, String arg3, int len);
+ public native TQRect boundingRect(TQRect arg1, int flags, String arg3);
public native int tabStops();
public native void setTabStops(int arg1);
public native int[] tabArray();
public native void setTabArray(int[] arg1);
- public static native void redirect(QPaintDeviceInterface pdev, QPaintDeviceInterface replacement);
- public static native QPaintDeviceInterface redirect(QPaintDeviceInterface pdev);
+ public static native void redirect(TQPaintDeviceInterface pdev, TQPaintDeviceInterface replacement);
+ public static native TQPaintDeviceInterface redirect(TQPaintDeviceInterface pdev);
public static native void initialize();
public static native void cleanup();
/** Deletes the wrapped C++ instance */