diff options
Diffstat (limited to 'qtjava/javalib/qtjava/QSize.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/QSize.cpp | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/qtjava/javalib/qtjava/QSize.cpp b/qtjava/javalib/qtjava/QSize.cpp index d7b94e51..e304496f 100644 --- a/qtjava/javalib/qtjava/QSize.cpp +++ b/qtjava/javalib/qtjava/QSize.cpp @@ -1,6 +1,6 @@ //Auto-generated by kalyptus. DO NOT EDIT. -#include <qsize.h> -#include <qwindowdefs.h> +#include <tqsize.h> +#include <tqwindowdefs.h> #include <qtjava/QtSupport.h> #include <qtjava/QSize.h> @@ -8,15 +8,15 @@ class QSizeJBridge : public QSize { public: - QSizeJBridge() : QSize() {}; - QSizeJBridge(int arg1,int arg2) : QSize(arg1,arg2) {}; + QSizeJBridge() : TQSize() {}; + QSizeJBridge(int arg1,int arg2) : TQSize(arg1,arg2) {}; ~QSizeJBridge() {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 QSize(((QSize*) QtSupport::getQt(env, obj))->boundedTo((const QSize&)*(const QSize*) QtSupport::getQt(env, arg1))), "org.kde.qt.QSize", 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 QSize(((QSize*) QtSupport::getQt(env, obj))->expandedTo((const QSize&)*(const QSize*) QtSupport::getQt(env, arg1))), "org.kde.qt.QSize", 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 (QSize*)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) ((QSize*) 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) ((QSize*) 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) ((QSize*) 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) ((QSize*) 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_newQSize__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*)(QSize *) &((QSize*) QtSupport::getQt(env, obj))->operator/=((double) c), "org.kde.qt.QSize"); + 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*)(QSize *) &((QSize*) QtSupport::getQt(env, obj))->operator/=((int) c), "org.kde.qt.QSize"); + 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*)(QSize *) &((QSize*) QtSupport::getQt(env, obj))->operator-=((const QSize&)*(const QSize*) QtSupport::getQt(env, arg1)), "org.kde.qt.QSize"); + 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*)(QSize *) &((QSize*) QtSupport::getQt(env, obj))->operator*=((double) c), "org.kde.qt.QSize"); + 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*)(QSize *) &((QSize*) QtSupport::getQt(env, obj))->operator*=((int) c), "org.kde.qt.QSize"); + 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*)(QSize *) &((QSize*) QtSupport::getQt(env, obj))->operator+=((const QSize&)*(const QSize*) QtSupport::getQt(env, arg1)), "org.kde.qt.QSize"); + 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) ((QSize*) 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) ((QSize*) 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) { - ((QSize*) QtSupport::getQt(env, obj))->scale((int) w, (int) h, (QSize::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) { - ((QSize*) QtSupport::getQt(env, obj))->scale((const QSize&)*(const QSize*) QtSupport::getQt(env, s), (QSize::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) { - ((QSize*) 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) { - ((QSize*) 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) { - ((QSize*) 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) ((QSize*) QtSupport::getQt(env, obj))->width(); + jint xret = (jint) ((TQSize*) QtSupport::getQt(env, obj))->width(); return xret; } |