diff options
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QCanvasSprite.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QCanvasSprite.java | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/qtjava/javalib/org/kde/qt/QCanvasSprite.java b/qtjava/javalib/org/kde/qt/QCanvasSprite.java index 81741467..b093ab45 100644 --- a/qtjava/javalib/org/kde/qt/QCanvasSprite.java +++ b/qtjava/javalib/org/kde/qt/QCanvasSprite.java @@ -3,17 +3,17 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QCanvasSprite extends QCanvasItem { - protected QCanvasSprite(Class dummy){super((Class) null);} +public class TQCanvasSprite extends TQCanvasItem { + protected TQCanvasSprite(Class dummy){super((Class) null);} public static final int Cycle = 0; public static final int Oscillate = 1; - public QCanvasSprite(QCanvasPixmapArray array, QCanvas canvas) { + public TQCanvasSprite(TQCanvasPixmapArray array, TQCanvas canvas) { super((Class) null); - newQCanvasSprite(array,canvas); + newTQCanvasSprite(array,canvas); } - private native void newQCanvasSprite(QCanvasPixmapArray array, QCanvas canvas); - public native void setSequence(QCanvasPixmapArray seq); + private native void newTQCanvasSprite(TQCanvasPixmapArray array, TQCanvas canvas); + public native void setSequence(TQCanvasPixmapArray seq); public native void move(double x, double y); public native void move(double x, double y, int frame); public native void setFrame(int arg1); @@ -24,8 +24,8 @@ public class QCanvasSprite extends QCanvasItem { public native int frame(); public native int frameCount(); public native int rtti(); - public native boolean collidesWith(QCanvasItem arg1); - public native QRect boundingRect(); + public native boolean collidesWith(TQCanvasItem arg1); + public native TQRect boundingRect(); public native int width(); public native int height(); public native int leftEdge(); @@ -36,11 +36,11 @@ public class QCanvasSprite extends QCanvasItem { public native int topEdge(int ny); public native int rightEdge(int nx); public native int bottomEdge(int ny); - public native QCanvasPixmap image(); - public native QCanvasPixmap imageAdvanced(); - public native QCanvasPixmap image(int f); + public native TQCanvasPixmap image(); + public native TQCanvasPixmap imageAdvanced(); + public native TQCanvasPixmap image(int f); public native void advance(int stage); - public native void draw(QPainter painter); + public native void draw(TQPainter painter); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ |