diff options
Diffstat (limited to 'qtjava/javalib/qtjava/QSize.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/QSize.cpp | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/qtjava/javalib/qtjava/QSize.cpp b/qtjava/javalib/qtjava/QSize.cpp index ed9799b4..ee8400e5 100644 --- a/qtjava/javalib/qtjava/QSize.cpp +++ b/qtjava/javalib/qtjava/QSize.cpp @@ -8,15 +8,15 @@ class TQSizeJBridge : public TQSize { public: - TQSizeJBridge() : TTQSize() {}; - TQSizeJBridge(int arg1,int arg2) : TTQSize(arg1,arg2) {}; + TQSizeJBridge() : TQSize() {}; + TQSizeJBridge(int arg1,int arg2) : TQSize(arg1,arg2) {}; ~TQSizeJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT jobject JNICALL Java_org_kde_qt_QSize_boundedTo(JNIEnv* env, jobject obj, jobject arg1) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQSize*) QtSupport::getQt(env, obj))->boundedTo((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQSize*) QtSupport::getQt(env, obj))->boundedTo((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQSize", TRUE); return xret; } @@ -30,7 +30,7 @@ Java_org_kde_qt_QSize_dispose(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_qt_QSize_expandedTo(JNIEnv* env, jobject obj, jobject arg1) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQSize*) QtSupport::getQt(env, obj))->expandedTo((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQSize*) QtSupport::getQt(env, obj))->expandedTo((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQSize", TRUE); return xret; } @@ -38,7 +38,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QSize_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TTQSize*)QtSupport::getQt(env, obj); + delete (TQSize*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -47,7 +47,7 @@ Java_org_kde_qt_QSize_finalize(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QSize_height(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TTQSize*) QtSupport::getQt(env, obj))->height(); + jint xret = (jint) ((TQSize*) QtSupport::getQt(env, obj))->height(); return xret; } @@ -60,21 +60,21 @@ Java_org_kde_qt_QSize_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSize_isEmpty(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TTQSize*) QtSupport::getQt(env, obj))->isEmpty(); + jboolean xret = (jboolean) ((TQSize*) QtSupport::getQt(env, obj))->isEmpty(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSize_isNull(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TTQSize*) QtSupport::getQt(env, obj))->isNull(); + jboolean xret = (jboolean) ((TQSize*) QtSupport::getQt(env, obj))->isNull(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSize_isValid(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TTQSize*) QtSupport::getQt(env, obj))->isValid(); + jboolean xret = (jboolean) ((TQSize*) QtSupport::getQt(env, obj))->isValid(); return xret; } @@ -101,98 +101,98 @@ Java_org_kde_qt_QSize_newTQSize__II(JNIEnv* env, jobject obj, jint w, jint h) JNIEXPORT jobject JNICALL Java_org_kde_qt_QSize_op_1div_1assign__D(JNIEnv* env, jobject obj, jdouble c) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQSize *) &((TTQSize*) QtSupport::getQt(env, obj))->operator/=((double) c), "org.kde.qt.TTQSize"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQSize *) &((TQSize*) QtSupport::getQt(env, obj))->operator/=((double) c), "org.kde.qt.TQSize"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QSize_op_1div_1assign__I(JNIEnv* env, jobject obj, jint c) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQSize *) &((TTQSize*) QtSupport::getQt(env, obj))->operator/=((int) c), "org.kde.qt.TTQSize"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQSize *) &((TQSize*) QtSupport::getQt(env, obj))->operator/=((int) c), "org.kde.qt.TQSize"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QSize_op_1minus_1assign(JNIEnv* env, jobject obj, jobject arg1) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQSize *) &((TTQSize*) QtSupport::getQt(env, obj))->operator-=((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, arg1)), "org.kde.qt.TTQSize"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQSize *) &((TQSize*) QtSupport::getQt(env, obj))->operator-=((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQSize"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QSize_op_1mult_1assign__D(JNIEnv* env, jobject obj, jdouble c) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQSize *) &((TTQSize*) QtSupport::getQt(env, obj))->operator*=((double) c), "org.kde.qt.TTQSize"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQSize *) &((TQSize*) QtSupport::getQt(env, obj))->operator*=((double) c), "org.kde.qt.TQSize"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QSize_op_1mult_1assign__I(JNIEnv* env, jobject obj, jint c) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQSize *) &((TTQSize*) QtSupport::getQt(env, obj))->operator*=((int) c), "org.kde.qt.TTQSize"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQSize *) &((TQSize*) QtSupport::getQt(env, obj))->operator*=((int) c), "org.kde.qt.TQSize"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QSize_op_1plus_1assign(JNIEnv* env, jobject obj, jobject arg1) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQSize *) &((TTQSize*) QtSupport::getQt(env, obj))->operator+=((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, arg1)), "org.kde.qt.TTQSize"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQSize *) &((TQSize*) QtSupport::getQt(env, obj))->operator+=((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQSize"); return xret; } JNIEXPORT jshort JNICALL Java_org_kde_qt_QSize_rheight(JNIEnv* env, jobject obj) { - jshort xret = (jshort) ((TTQSize*) QtSupport::getQt(env, obj))->rheight(); + jshort xret = (jshort) ((TQSize*) QtSupport::getQt(env, obj))->rheight(); return xret; } JNIEXPORT jshort JNICALL Java_org_kde_qt_QSize_rwidth(JNIEnv* env, jobject obj) { - jshort xret = (jshort) ((TTQSize*) QtSupport::getQt(env, obj))->rwidth(); + jshort xret = (jshort) ((TQSize*) QtSupport::getQt(env, obj))->rwidth(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QSize_scale__III(JNIEnv* env, jobject obj, jint w, jint h, jint mode) { - ((TTQSize*) QtSupport::getQt(env, obj))->scale((int) w, (int) h, (TTQSize::ScaleMode) mode); + ((TQSize*) QtSupport::getQt(env, obj))->scale((int) w, (int) h, (TQSize::ScaleMode) mode); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSize_scale__Lorg_kde_qt_QSize_2I(JNIEnv* env, jobject obj, jobject s, jint mode) { - ((TTQSize*) QtSupport::getQt(env, obj))->scale((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, s), (TTQSize::ScaleMode) mode); + ((TQSize*) QtSupport::getQt(env, obj))->scale((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s), (TQSize::ScaleMode) mode); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSize_setHeight(JNIEnv* env, jobject obj, jint h) { - ((TTQSize*) QtSupport::getQt(env, obj))->setHeight((int) h); + ((TQSize*) QtSupport::getQt(env, obj))->setHeight((int) h); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSize_setWidth(JNIEnv* env, jobject obj, jint w) { - ((TTQSize*) QtSupport::getQt(env, obj))->setWidth((int) w); + ((TQSize*) QtSupport::getQt(env, obj))->setWidth((int) w); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSize_transpose(JNIEnv* env, jobject obj) { - ((TTQSize*) QtSupport::getQt(env, obj))->transpose(); + ((TQSize*) QtSupport::getQt(env, obj))->transpose(); return; } JNIEXPORT jint JNICALL Java_org_kde_qt_QSize_width(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TTQSize*) QtSupport::getQt(env, obj))->width(); + jint xret = (jint) ((TQSize*) QtSupport::getQt(env, obj))->width(); return xret; } |