diff options
Diffstat (limited to 'qtjava/javalib/qtjava/QTextStream.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/QTextStream.cpp | 124 |
1 files changed, 62 insertions, 62 deletions
diff --git a/qtjava/javalib/qtjava/QTextStream.cpp b/qtjava/javalib/qtjava/QTextStream.cpp index 4d68f282..c9b52c0e 100644 --- a/qtjava/javalib/qtjava/QTextStream.cpp +++ b/qtjava/javalib/qtjava/QTextStream.cpp @@ -1,7 +1,7 @@ //Auto-generated by kalyptus. DO NOT EDIT. -#include <qstring.h> -#include <qtextstream.h> -#include <qcstring.h> +#include <tqstring.h> +#include <tqtextstream.h> +#include <tqcstring.h> #include <qtjava/QtSupport.h> #include <qtjava/QTextStream.h> @@ -9,31 +9,31 @@ class QTextStreamJBridge : public QTextStream { public: - QTextStreamJBridge() : QTextStream() {}; - QTextStreamJBridge(QIODevice* arg1) : QTextStream(arg1) {}; - QTextStreamJBridge(QString* arg1,int arg2) : QTextStream(arg1,arg2) {}; - QTextStreamJBridge(QByteArray arg1,int arg2) : QTextStream(arg1,arg2) {}; + QTextStreamJBridge() : TQTextStream() {}; + QTextStreamJBridge(TQIODevice* arg1) : TQTextStream(arg1) {}; + QTextStreamJBridge(TQString* arg1,int arg2) : TQTextStream(arg1,arg2) {}; + QTextStreamJBridge(TQByteArray arg1,int arg2) : TQTextStream(arg1,arg2) {}; ~QTextStreamJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextStream_atEnd(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QTextStream*) QtSupport::getQt(env, obj))->atEnd(); + jboolean xret = (jboolean) ((TQTextStream*) QtSupport::getQt(env, obj))->atEnd(); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_codec(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QTextStream*) QtSupport::getQt(env, obj))->codec(), "org.kde.qt.QTextCodec"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextStream*) QtSupport::getQt(env, obj))->codec(), "org.kde.qt.TQTextCodec"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_device(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QTextStream*) QtSupport::getQt(env, obj))->device(), "org.kde.qt.QIODeviceInterface"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextStream*) QtSupport::getQt(env, obj))->device(), "org.kde.qt.QIODeviceInterface"); return xret; } @@ -47,21 +47,21 @@ Java_org_kde_qt_QTextStream_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextStream_eof(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QTextStream*) QtSupport::getQt(env, obj))->eof(); + jboolean xret = (jboolean) ((TQTextStream*) QtSupport::getQt(env, obj))->eof(); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_fill__(JNIEnv* env, jobject obj) { - jint xret = (jint) ((QTextStream*) QtSupport::getQt(env, obj))->fill(); + jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->fill(); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_fill__I(JNIEnv* env, jobject obj, jint arg1) { - jint xret = (jint) ((QTextStream*) QtSupport::getQt(env, obj))->fill((int) arg1); + jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->fill((int) arg1); return xret; } @@ -69,7 +69,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (QTextStream*)QtSupport::getQt(env, obj); + delete (TQTextStream*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -78,14 +78,14 @@ Java_org_kde_qt_QTextStream_finalize(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_flags__(JNIEnv* env, jobject obj) { - jint xret = (jint) ((QTextStream*) QtSupport::getQt(env, obj))->flags(); + jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->flags(); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_flags__I(JNIEnv* env, jobject obj, jint f) { - jint xret = (jint) ((QTextStream*) QtSupport::getQt(env, obj))->flags((int) f); + jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->flags((int) f); return xret; } @@ -108,9 +108,9 @@ Java_org_kde_qt_QTextStream_newQTextStream__(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_newQTextStream__Ljava_lang_StringBuffer_2I(JNIEnv* env, jobject obj, jobject arg1, jint mode) { -static QString* _qstring_arg1 = 0; +static TQString* _qstring_arg1 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTextStreamJBridge((QString*) QtSupport::toQStringFromStringBuffer(env, arg1, &_qstring_arg1), (int) mode)); + QtSupport::setQt(env, obj, new QTextStreamJBridge((TQString*) QtSupport::toQStringFromStringBuffer(env, arg1, &_qstring_arg1), (int) mode)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); QtSupport::fromQStringToStringBuffer(env, _qstring_arg1, arg1); } @@ -121,7 +121,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_newQTextStream__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTextStreamJBridge((QIODevice*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new QTextStreamJBridge((TQIODevice*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -130,9 +130,9 @@ Java_org_kde_qt_QTextStream_newQTextStream__Lorg_kde_qt_QIODeviceInterface_2(JNI JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_newQTextStream___3BI(JNIEnv* env, jobject obj, jbyteArray arg1, jint mode) { -static QByteArray* _qbyteArray_arg1 = 0; +static TQByteArray* _qbyteArray_arg1 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTextStreamJBridge((QByteArray)*(QByteArray*) QtSupport::toQByteArray(env, arg1, &_qbyteArray_arg1), (int) mode)); + QtSupport::setQt(env, obj, new QTextStreamJBridge((TQByteArray)*(TQByteArray*) QtSupport::toQByteArray(env, arg1, &_qbyteArray_arg1), (int) mode)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -141,44 +141,44 @@ static QByteArray* _qbyteArray_arg1 = 0; JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1read__C(JNIEnv* env, jobject obj, jchar arg1) { -static QChar* _qchar_arg1 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(QTextStream *) &((QTextStream*) QtSupport::getQt(env, obj))->operator>>((QChar&)*(QChar*) QtSupport::toQChar(env, arg1, &_qchar_arg1)), "org.kde.qt.QTextStream"); +static TQChar* _qchar_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator>>((TQChar&)*(TQChar*) QtSupport::toQChar(env, arg1, &_qchar_arg1)), "org.kde.qt.TQTextStream"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1read__D(JNIEnv* env, jobject obj, jdouble arg1) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(QTextStream *) &((QTextStream*) QtSupport::getQt(env, obj))->operator>>((double&) arg1), "org.kde.qt.QTextStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator>>((double&) arg1), "org.kde.qt.TQTextStream"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1read__F(JNIEnv* env, jobject obj, jfloat arg1) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(QTextStream *) &((QTextStream*) QtSupport::getQt(env, obj))->operator>>((float&) arg1), "org.kde.qt.QTextStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator>>((float&) arg1), "org.kde.qt.TQTextStream"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1read__I(JNIEnv* env, jobject obj, jint arg1) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(QTextStream *) &((QTextStream*) QtSupport::getQt(env, obj))->operator>>((unsigned int&) arg1), "org.kde.qt.QTextStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator>>((unsigned int&) arg1), "org.kde.qt.TQTextStream"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1read__J(JNIEnv* env, jobject obj, jlong arg1) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(QTextStream *) &((QTextStream*) QtSupport::getQt(env, obj))->operator>>((unsigned long&) arg1), "org.kde.qt.QTextStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator>>((unsigned long&) arg1), "org.kde.qt.TQTextStream"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1read__Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject arg1) { -static QString* _qstring_arg1 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(QTextStream *) &((QTextStream*) QtSupport::getQt(env, obj))->operator>>((QString&)*(QString*) QtSupport::toQStringFromStringBuffer(env, arg1, &_qstring_arg1)), "org.kde.qt.QTextStream"); +static TQString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator>>((TQString&)*(TQString*) QtSupport::toQStringFromStringBuffer(env, arg1, &_qstring_arg1)), "org.kde.qt.TQTextStream"); QtSupport::fromQStringToStringBuffer(env, _qstring_arg1, arg1); return xret; } @@ -186,189 +186,189 @@ static QString* _qstring_arg1 = 0; JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1read__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) { -static QCString* _qstring_arg1 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(QTextStream *) &((QTextStream*) QtSupport::getQt(env, obj))->operator>>((char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)), "org.kde.qt.QTextStream"); +static TQCString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator>>((char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)), "org.kde.qt.TQTextStream"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1read__S(JNIEnv* env, jobject obj, jshort arg1) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(QTextStream *) &((QTextStream*) QtSupport::getQt(env, obj))->operator>>((unsigned short&) arg1), "org.kde.qt.QTextStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator>>((unsigned short&) arg1), "org.kde.qt.TQTextStream"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1write__C(JNIEnv* env, jobject obj, jchar arg1) { -static QChar* _qchar_arg1 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(QTextStream *) &((QTextStream*) QtSupport::getQt(env, obj))->operator<<((QChar)*(QChar*) QtSupport::toQChar(env, arg1, &_qchar_arg1)), "org.kde.qt.QTextStream"); +static TQChar* _qchar_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator<<((TQChar)*(TQChar*) QtSupport::toQChar(env, arg1, &_qchar_arg1)), "org.kde.qt.TQTextStream"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1write__D(JNIEnv* env, jobject obj, jdouble arg1) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(QTextStream *) &((QTextStream*) QtSupport::getQt(env, obj))->operator<<((double) arg1), "org.kde.qt.QTextStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator<<((double) arg1), "org.kde.qt.TQTextStream"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1write__F(JNIEnv* env, jobject obj, jfloat arg1) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(QTextStream *) &((QTextStream*) QtSupport::getQt(env, obj))->operator<<((float) arg1), "org.kde.qt.QTextStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator<<((float) arg1), "org.kde.qt.TQTextStream"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1write__I(JNIEnv* env, jobject obj, jint arg1) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(QTextStream *) &((QTextStream*) QtSupport::getQt(env, obj))->operator<<((unsigned) arg1), "org.kde.qt.QTextStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator<<((unsigned) arg1), "org.kde.qt.TQTextStream"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1write__J(JNIEnv* env, jobject obj, jlong arg1) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(QTextStream *) &((QTextStream*) QtSupport::getQt(env, obj))->operator<<((long) arg1), "org.kde.qt.QTextStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator<<((long) arg1), "org.kde.qt.TQTextStream"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1write__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) { -static QCString* _qstring_arg1 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(QTextStream *) &((QTextStream*) QtSupport::getQt(env, obj))->operator<<((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)), "org.kde.qt.QTextStream"); +static TQCString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator<<((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)), "org.kde.qt.TQTextStream"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1write__S(JNIEnv* env, jobject obj, jshort arg1) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(QTextStream *) &((QTextStream*) QtSupport::getQt(env, obj))->operator<<((short) arg1), "org.kde.qt.QTextStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator<<((short) arg1), "org.kde.qt.TQTextStream"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_precision__(JNIEnv* env, jobject obj) { - jint xret = (jint) ((QTextStream*) QtSupport::getQt(env, obj))->precision(); + jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->precision(); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_precision__I(JNIEnv* env, jobject obj, jint arg1) { - jint xret = (jint) ((QTextStream*) QtSupport::getQt(env, obj))->precision((int) arg1); + jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->precision((int) arg1); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextStream_readLine(JNIEnv* env, jobject obj) { - QString _qstring; - _qstring = ((QTextStream*) QtSupport::getQt(env, obj))->readLine(); + TQString _qstring; + _qstring = ((TQTextStream*) QtSupport::getQt(env, obj))->readLine(); return QtSupport::fromQString(env, &_qstring); } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_readRawBytes(JNIEnv* env, jobject obj, jstring arg1, jint len) { -static QCString* _qstring_arg1 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(QTextStream *) &((QTextStream*) QtSupport::getQt(env, obj))->readRawBytes((char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (uint) len), "org.kde.qt.QTextStream"); +static TQCString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->readRawBytes((char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (uint) len), "org.kde.qt.TQTextStream"); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextStream_read(JNIEnv* env, jobject obj) { - QString _qstring; - _qstring = ((QTextStream*) QtSupport::getQt(env, obj))->read(); + TQString _qstring; + _qstring = ((TQTextStream*) QtSupport::getQt(env, obj))->read(); return QtSupport::fromQString(env, &_qstring); } JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_reset(JNIEnv* env, jobject obj) { - ((QTextStream*) QtSupport::getQt(env, obj))->reset(); + ((TQTextStream*) QtSupport::getQt(env, obj))->reset(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_setCodec(JNIEnv* env, jobject obj, jobject arg1) { - ((QTextStream*) QtSupport::getQt(env, obj))->setCodec((QTextCodec*) QtSupport::getQt(env, arg1)); + ((TQTextStream*) QtSupport::getQt(env, obj))->setCodec((TQTextCodec*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_setDevice(JNIEnv* env, jobject obj, jobject arg1) { - ((QTextStream*) QtSupport::getQt(env, obj))->setDevice((QIODevice*) QtSupport::getQt(env, arg1)); + ((TQTextStream*) QtSupport::getQt(env, obj))->setDevice((TQIODevice*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_setEncoding(JNIEnv* env, jobject obj, jint arg1) { - ((QTextStream*) QtSupport::getQt(env, obj))->setEncoding((QTextStream::Encoding) arg1); + ((TQTextStream*) QtSupport::getQt(env, obj))->setEncoding((TQTextStream::Encoding) arg1); return; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_setf__I(JNIEnv* env, jobject obj, jint bits) { - jint xret = (jint) ((QTextStream*) QtSupport::getQt(env, obj))->setf((int) bits); + jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->setf((int) bits); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_setf__II(JNIEnv* env, jobject obj, jint bits, jint mask) { - jint xret = (jint) ((QTextStream*) QtSupport::getQt(env, obj))->setf((int) bits, (int) mask); + jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->setf((int) bits, (int) mask); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_skipWhiteSpace(JNIEnv* env, jobject obj) { - ((QTextStream*) QtSupport::getQt(env, obj))->skipWhiteSpace(); + ((TQTextStream*) QtSupport::getQt(env, obj))->skipWhiteSpace(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_unsetDevice(JNIEnv* env, jobject obj) { - ((QTextStream*) QtSupport::getQt(env, obj))->unsetDevice(); + ((TQTextStream*) QtSupport::getQt(env, obj))->unsetDevice(); return; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_unsetf(JNIEnv* env, jobject obj, jint bits) { - jint xret = (jint) ((QTextStream*) QtSupport::getQt(env, obj))->unsetf((int) bits); + jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->unsetf((int) bits); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_width__(JNIEnv* env, jobject obj) { - jint xret = (jint) ((QTextStream*) QtSupport::getQt(env, obj))->width(); + jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->width(); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_width__I(JNIEnv* env, jobject obj, jint arg1) { - jint xret = (jint) ((QTextStream*) QtSupport::getQt(env, obj))->width((int) arg1); + jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->width((int) arg1); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_writeRawBytes(JNIEnv* env, jobject obj, jstring arg1, jint len) { -static QCString* _qstring_arg1 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(QTextStream *) &((QTextStream*) QtSupport::getQt(env, obj))->writeRawBytes((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (uint) len), "org.kde.qt.QTextStream"); +static TQCString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->writeRawBytes((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (uint) len), "org.kde.qt.TQTextStream"); return xret; } |