diff options
Diffstat (limited to 'qtjava/javalib/qtjava/QCanvasPixmap.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/QCanvasPixmap.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/qtjava/javalib/qtjava/QCanvasPixmap.cpp b/qtjava/javalib/qtjava/QCanvasPixmap.cpp index af3d068e..fa2499e6 100644 --- a/qtjava/javalib/qtjava/QCanvasPixmap.cpp +++ b/qtjava/javalib/qtjava/QCanvasPixmap.cpp @@ -11,9 +11,9 @@ class TQCanvasPixmapJBridge : public TQCanvasPixmap { public: - TQCanvasPixmapJBridge(const TTQString& arg1) : TTQCanvasPixmap(arg1) {}; - TQCanvasPixmapJBridge(const TTQImage& arg1) : TTQCanvasPixmap(arg1) {}; - TQCanvasPixmapJBridge(const TTQPixmap& arg1,const TTQPoint& arg2) : TTQCanvasPixmap(arg1,arg2) {}; + TQCanvasPixmapJBridge(const TQString& arg1) : TQCanvasPixmap(arg1) {}; + TQCanvasPixmapJBridge(const TQImage& arg1) : TQCanvasPixmap(arg1) {}; + TQCanvasPixmapJBridge(const TQPixmap& arg1,const TQPoint& arg2) : TQCanvasPixmap(arg1,arg2) {}; ~TQCanvasPixmapJBridge() {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 (TTQCanvasPixmap*)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_newTQCanvasPixmap__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring datafilename) { -static TTQString* _qstring_datafilename = 0; +static TQString* _qstring_datafilename = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasPixmapJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, datafilename, &_qstring_datafilename))); + QtSupport::setQt(env, obj, new TQCanvasPixmapJBridge((const TQString&)*(TQString*) QtSupport::toTQString(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_newTQCanvasPixmap__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject image) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasPixmapJBridge((const TTQImage&)*(const TTQImage*) QtSupport::getQt(env, image))); + QtSupport::setQt(env, obj, new TQCanvasPixmapJBridge((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_newTQCanvasPixmap__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 TQCanvasPixmapJBridge((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, arg1), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, hotspot))); + QtSupport::setQt(env, obj, new TQCanvasPixmapJBridge((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_newTQCanvasPixmap__Lorg_kde_qt_QPixmap_2Lorg_kde_q JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasPixmap_offsetX(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TTQCanvasPixmap*) 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) ((TTQCanvasPixmap*) 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) { - ((TTQCanvasPixmap*) QtSupport::getQt(env, obj))->setOffset((int) x, (int) y); + ((TQCanvasPixmap*) QtSupport::getQt(env, obj))->setOffset((int) x, (int) y); return; } |