diff options
Diffstat (limited to 'qtjava/javalib/qtjava/QCanvasPixmapArray.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/QCanvasPixmapArray.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/qtjava/javalib/qtjava/QCanvasPixmapArray.cpp b/qtjava/javalib/qtjava/QCanvasPixmapArray.cpp index e19786a7..48fa2870 100644 --- a/qtjava/javalib/qtjava/QCanvasPixmapArray.cpp +++ b/qtjava/javalib/qtjava/QCanvasPixmapArray.cpp @@ -9,16 +9,16 @@ class TQCanvasPixmapArrayJBridge : public TQCanvasPixmapArray { public: - TQCanvasPixmapArrayJBridge() : TTQCanvasPixmapArray() {}; - TQCanvasPixmapArrayJBridge(const TTQString& arg1,int arg2) : TTQCanvasPixmapArray(arg1,arg2) {}; - TQCanvasPixmapArrayJBridge(const TTQString& arg1) : TTQCanvasPixmapArray(arg1) {}; + TQCanvasPixmapArrayJBridge() : TQCanvasPixmapArray() {}; + TQCanvasPixmapArrayJBridge(const TQString& arg1,int arg2) : TQCanvasPixmapArray(arg1,arg2) {}; + TQCanvasPixmapArrayJBridge(const TQString& arg1) : TQCanvasPixmapArray(arg1) {}; ~TQCanvasPixmapArrayJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasPixmapArray_count(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TTQCanvasPixmapArray*) QtSupport::getQt(env, obj))->count(); + jint xret = (jint) ((TQCanvasPixmapArray*) QtSupport::getQt(env, obj))->count(); return xret; } @@ -33,7 +33,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmapArray_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TTQCanvasPixmapArray*)QtSupport::getQt(env, obj); + delete (TQCanvasPixmapArray*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -42,7 +42,7 @@ Java_org_kde_qt_QCanvasPixmapArray_finalize(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasPixmapArray_image(JNIEnv* env, jobject obj, jint i) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQCanvasPixmapArray*) QtSupport::getQt(env, obj))->image((int) i), "org.kde.qt.TTQCanvasPixmap"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQCanvasPixmapArray*) QtSupport::getQt(env, obj))->image((int) i), "org.kde.qt.TQCanvasPixmap"); return xret; } @@ -55,7 +55,7 @@ Java_org_kde_qt_QCanvasPixmapArray_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasPixmapArray_isValid(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TTQCanvasPixmapArray*) QtSupport::getQt(env, obj))->isValid(); + jboolean xret = (jboolean) ((TQCanvasPixmapArray*) QtSupport::getQt(env, obj))->isValid(); return xret; } @@ -72,9 +72,9 @@ Java_org_kde_qt_QCanvasPixmapArray_newTQCanvasPixmapArray__(JNIEnv* env, jobject JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmapArray_newTQCanvasPixmapArray__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring datafilenamepattern) { -static TTQString* _qstring_datafilenamepattern = 0; +static TQString* _qstring_datafilenamepattern = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasPixmapArrayJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, datafilenamepattern, &_qstring_datafilenamepattern))); + QtSupport::setQt(env, obj, new TQCanvasPixmapArrayJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, datafilenamepattern, &_qstring_datafilenamepattern))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -83,9 +83,9 @@ static TTQString* _qstring_datafilenamepattern = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmapArray_newTQCanvasPixmapArray__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring datafilenamepattern, jint framecount) { -static TTQString* _qstring_datafilenamepattern = 0; +static TQString* _qstring_datafilenamepattern = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasPixmapArrayJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, datafilenamepattern, &_qstring_datafilenamepattern), (int) framecount)); + QtSupport::setQt(env, obj, new TQCanvasPixmapArrayJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, datafilenamepattern, &_qstring_datafilenamepattern), (int) framecount)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -94,38 +94,38 @@ static TTQString* _qstring_datafilenamepattern = 0; JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasPixmapArray_op_1not(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TTQCanvasPixmapArray*) QtSupport::getQt(env, obj))->operator!(); + jboolean xret = (jboolean) ((TQCanvasPixmapArray*) QtSupport::getQt(env, obj))->operator!(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasPixmapArray_readCollisionMasks(JNIEnv* env, jobject obj, jstring filenamepattern) { -static TTQString* _qstring_filenamepattern = 0; - jboolean xret = (jboolean) ((TTQCanvasPixmapArray*) QtSupport::getQt(env, obj))->readCollisionMasks((const TTQString&)*(TTQString*) QtSupport::toTQString(env, filenamepattern, &_qstring_filenamepattern)); +static TQString* _qstring_filenamepattern = 0; + jboolean xret = (jboolean) ((TQCanvasPixmapArray*) QtSupport::getQt(env, obj))->readCollisionMasks((const TQString&)*(TQString*) QtSupport::toTQString(env, filenamepattern, &_qstring_filenamepattern)); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasPixmapArray_readPixmaps__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring datafilenamepattern) { -static TTQString* _qstring_datafilenamepattern = 0; - jboolean xret = (jboolean) ((TTQCanvasPixmapArray*) QtSupport::getQt(env, obj))->readPixmaps((const TTQString&)*(TTQString*) QtSupport::toTQString(env, datafilenamepattern, &_qstring_datafilenamepattern)); +static TQString* _qstring_datafilenamepattern = 0; + jboolean xret = (jboolean) ((TQCanvasPixmapArray*) QtSupport::getQt(env, obj))->readPixmaps((const TQString&)*(TQString*) QtSupport::toTQString(env, datafilenamepattern, &_qstring_datafilenamepattern)); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasPixmapArray_readPixmaps__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring datafilenamepattern, jint framecount) { -static TTQString* _qstring_datafilenamepattern = 0; - jboolean xret = (jboolean) ((TTQCanvasPixmapArray*) QtSupport::getQt(env, obj))->readPixmaps((const TTQString&)*(TTQString*) QtSupport::toTQString(env, datafilenamepattern, &_qstring_datafilenamepattern), (int) framecount); +static TQString* _qstring_datafilenamepattern = 0; + jboolean xret = (jboolean) ((TQCanvasPixmapArray*) QtSupport::getQt(env, obj))->readPixmaps((const TQString&)*(TQString*) QtSupport::toTQString(env, datafilenamepattern, &_qstring_datafilenamepattern), (int) framecount); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmapArray_setImage(JNIEnv* env, jobject obj, jint i, jobject p) { - ((TTQCanvasPixmapArray*) QtSupport::getQt(env, obj))->setImage((int) i, (TTQCanvasPixmap*) QtSupport::getQt(env, p)); + ((TQCanvasPixmapArray*) QtSupport::getQt(env, obj))->setImage((int) i, (TQCanvasPixmap*) QtSupport::getQt(env, p)); return; } |