summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/QCanvasPixmap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/qtjava/QCanvasPixmap.cpp')
-rw-r--r--qtjava/javalib/qtjava/QCanvasPixmap.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/qtjava/javalib/qtjava/QCanvasPixmap.cpp b/qtjava/javalib/qtjava/QCanvasPixmap.cpp
index a4473364..650df137 100644
--- a/qtjava/javalib/qtjava/QCanvasPixmap.cpp
+++ b/qtjava/javalib/qtjava/QCanvasPixmap.cpp
@@ -1,9 +1,9 @@
//Auto-generated by kalyptus. DO NOT EDIT.
-#include <qpixmap.h>
-#include <qimage.h>
-#include <qstring.h>
-#include <qpoint.h>
-#include <qcanvas.h>
+#include <tqpixmap.h>
+#include <tqimage.h>
+#include <tqstring.h>
+#include <tqpoint.h>
+#include <tqcanvas.h>
#include <qtjava/QtSupport.h>
#include <qtjava/QCanvasPixmap.h>
@@ -11,9 +11,9 @@
class QCanvasPixmapJBridge : public QCanvasPixmap
{
public:
- QCanvasPixmapJBridge(const QString& arg1) : QCanvasPixmap(arg1) {};
- QCanvasPixmapJBridge(const QImage& arg1) : QCanvasPixmap(arg1) {};
- QCanvasPixmapJBridge(const QPixmap& arg1,const QPoint& arg2) : QCanvasPixmap(arg1,arg2) {};
+ QCanvasPixmapJBridge(const TQString& arg1) : TQCanvasPixmap(arg1) {};
+ QCanvasPixmapJBridge(const TQImage& arg1) : TQCanvasPixmap(arg1) {};
+ QCanvasPixmapJBridge(const TQPixmap& arg1,const TQPoint& arg2) : TQCanvasPixmap(arg1,arg2) {};
~QCanvasPixmapJBridge() {QtSupport::qtKeyDeleted(this);}
};
@@ -28,7 +28,7 @@ JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasPixmap_finalize(JNIEnv* env, jobject obj)
{
if (QtSupport::allocatedInJavaWorld(env, obj)) {
- delete (QCanvasPixmap*)QtSupport::getQt(env, obj);
+ delete (TQCanvasPixmap*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
return;
@@ -43,9 +43,9 @@ Java_org_kde_qt_QCanvasPixmap_isDisposed(JNIEnv* env, jobject obj)
JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasPixmap_newQCanvasPixmap__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring datafilename)
{
-static QString* _qstring_datafilename = 0;
+static TQString* _qstring_datafilename = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QCanvasPixmapJBridge((const QString&)*(QString*) QtSupport::toQString(env, datafilename, &_qstring_datafilename)));
+ QtSupport::setQt(env, obj, new QCanvasPixmapJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, datafilename, &_qstring_datafilename)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -55,7 +55,7 @@ JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasPixmap_newQCanvasPixmap__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject image)
{
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QCanvasPixmapJBridge((const QImage&)*(const QImage*) QtSupport::getQt(env, image)));
+ QtSupport::setQt(env, obj, new QCanvasPixmapJBridge((const TQImage&)*(const TQImage*) QtSupport::getQt(env, image)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -65,7 +65,7 @@ JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasPixmap_newQCanvasPixmap__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1, jobject hotspot)
{
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QCanvasPixmapJBridge((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, arg1), (const QPoint&)*(const QPoint*) QtSupport::getQt(env, hotspot)));
+ QtSupport::setQt(env, obj, new QCanvasPixmapJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, hotspot)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -74,21 +74,21 @@ Java_org_kde_qt_QCanvasPixmap_newQCanvasPixmap__Lorg_kde_qt_QPixmap_2Lorg_kde_qt
JNIEXPORT jint JNICALL
Java_org_kde_qt_QCanvasPixmap_offsetX(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((QCanvasPixmap*) QtSupport::getQt(env, obj))->offsetX();
+ jint xret = (jint) ((TQCanvasPixmap*) QtSupport::getQt(env, obj))->offsetX();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QCanvasPixmap_offsetY(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((QCanvasPixmap*) QtSupport::getQt(env, obj))->offsetY();
+ jint xret = (jint) ((TQCanvasPixmap*) QtSupport::getQt(env, obj))->offsetY();
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasPixmap_setOffset(JNIEnv* env, jobject obj, jint x, jint y)
{
- ((QCanvasPixmap*) QtSupport::getQt(env, obj))->setOffset((int) x, (int) y);
+ ((TQCanvasPixmap*) QtSupport::getQt(env, obj))->setOffset((int) x, (int) y);
return;
}