diff options
Diffstat (limited to 'qtjava/javalib/qtjava/QXmlSimpleReader.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/QXmlSimpleReader.cpp | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/qtjava/javalib/qtjava/QXmlSimpleReader.cpp b/qtjava/javalib/qtjava/QXmlSimpleReader.cpp index 097b8c4c..14b87187 100644 --- a/qtjava/javalib/qtjava/QXmlSimpleReader.cpp +++ b/qtjava/javalib/qtjava/QXmlSimpleReader.cpp @@ -1,6 +1,6 @@ //Auto-generated by kalyptus. DO NOT EDIT. -#include <qxml.h> -#include <qstring.h> +#include <tqxml.h> +#include <tqstring.h> #include <qtjava/QtSupport.h> #include <qtjava/QXmlSimpleReader.h> @@ -8,28 +8,28 @@ class QXmlSimpleReaderJBridge : public QXmlSimpleReader { public: - QXmlSimpleReaderJBridge() : QXmlSimpleReader() {}; + QXmlSimpleReaderJBridge() : TQXmlSimpleReader() {}; ~QXmlSimpleReaderJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlSimpleReader_DTDHandler(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QXmlSimpleReader*) QtSupport::getQt(env, obj))->DTDHandler(), "org.kde.qt.QXmlDTDHandlerInterface"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->DTDHandler(), "org.kde.qt.QXmlDTDHandlerInterface"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlSimpleReader_contentHandler(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QXmlSimpleReader*) QtSupport::getQt(env, obj))->contentHandler(), "org.kde.qt.QXmlContentHandlerInterface"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->contentHandler(), "org.kde.qt.QXmlContentHandlerInterface"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlSimpleReader_declHandler(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QXmlSimpleReader*) QtSupport::getQt(env, obj))->declHandler(), "org.kde.qt.QXmlDeclHandlerInterface"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->declHandler(), "org.kde.qt.QXmlDeclHandlerInterface"); return xret; } @@ -43,31 +43,31 @@ Java_org_kde_qt_QXmlSimpleReader_dispose(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlSimpleReader_entityResolver(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QXmlSimpleReader*) QtSupport::getQt(env, obj))->entityResolver(), "org.kde.qt.QXmlEntityResolverInterface"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->entityResolver(), "org.kde.qt.QXmlEntityResolverInterface"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlSimpleReader_errorHandler(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QXmlSimpleReader*) QtSupport::getQt(env, obj))->errorHandler(), "org.kde.qt.QXmlErrorHandlerInterface"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->errorHandler(), "org.kde.qt.QXmlErrorHandlerInterface"); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlSimpleReader_feature__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) { -static QString* _qstring_name = 0; - jboolean xret = (jboolean) ((QXmlSimpleReader*) QtSupport::getQt(env, obj))->feature((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name)); +static TQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->feature((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name)); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlSimpleReader_feature__Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring name, jbooleanArray ok) { -static QString* _qstring_name = 0; +static TQString* _qstring_name = 0; bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jboolean xret = (jboolean) ((QXmlSimpleReader*) QtSupport::getQt(env, obj))->feature((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (bool*) _bool_ok); + jboolean xret = (jboolean) ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->feature((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (bool*) _bool_ok); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); return xret; } @@ -76,7 +76,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QXmlSimpleReader_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (QXmlSimpleReader*)QtSupport::getQt(env, obj); + delete (TQXmlSimpleReader*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -85,16 +85,16 @@ Java_org_kde_qt_QXmlSimpleReader_finalize(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlSimpleReader_hasFeature(JNIEnv* env, jobject obj, jstring name) { -static QString* _qstring_name = 0; - jboolean xret = (jboolean) ((QXmlSimpleReader*) QtSupport::getQt(env, obj))->hasFeature((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name)); +static TQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->hasFeature((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name)); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlSimpleReader_hasProperty(JNIEnv* env, jobject obj, jstring name) { -static QString* _qstring_name = 0; - jboolean xret = (jboolean) ((QXmlSimpleReader*) QtSupport::getQt(env, obj))->hasProperty((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name)); +static TQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->hasProperty((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name)); return xret; } @@ -107,7 +107,7 @@ Java_org_kde_qt_QXmlSimpleReader_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlSimpleReader_lexicalHandler(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QXmlSimpleReader*) QtSupport::getQt(env, obj))->lexicalHandler(), "org.kde.qt.QXmlLexicalHandlerInterface"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->lexicalHandler(), "org.kde.qt.QXmlLexicalHandlerInterface"); return xret; } @@ -124,71 +124,71 @@ Java_org_kde_qt_QXmlSimpleReader_newQXmlSimpleReader(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlSimpleReader_parseContinue(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QXmlSimpleReader*) QtSupport::getQt(env, obj))->parseContinue(); + jboolean xret = (jboolean) ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->parseContinue(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlSimpleReader_parse__Lorg_kde_qt_QXmlInputSource_2(JNIEnv* env, jobject obj, jobject input) { - jboolean xret = (jboolean) ((QXmlSimpleReader*) QtSupport::getQt(env, obj))->parse((const QXmlInputSource&)*(const QXmlInputSource*) QtSupport::getQt(env, input)); + jboolean xret = (jboolean) ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->parse((const TQXmlInputSource&)*(const TQXmlInputSource*) QtSupport::getQt(env, input)); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlSimpleReader_parse__Lorg_kde_qt_QXmlInputSource_2Z(JNIEnv* env, jobject obj, jobject input, jboolean incremental) { - jboolean xret = (jboolean) ((QXmlSimpleReader*) QtSupport::getQt(env, obj))->parse((const QXmlInputSource*) QtSupport::getQt(env, input), (bool) incremental); + jboolean xret = (jboolean) ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->parse((const TQXmlInputSource*) QtSupport::getQt(env, input), (bool) incremental); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QXmlSimpleReader_setContentHandler(JNIEnv* env, jobject obj, jobject handler) { - ((QXmlSimpleReader*) QtSupport::getQt(env, obj))->setContentHandler((QXmlContentHandler*) QtSupport::getQt(env, handler)); + ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->setContentHandler((TQXmlContentHandler*) QtSupport::getQt(env, handler)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QXmlSimpleReader_setDTDHandler(JNIEnv* env, jobject obj, jobject handler) { - ((QXmlSimpleReader*) QtSupport::getQt(env, obj))->setDTDHandler((QXmlDTDHandler*) QtSupport::getQt(env, handler)); + ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->setDTDHandler((TQXmlDTDHandler*) QtSupport::getQt(env, handler)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QXmlSimpleReader_setDeclHandler(JNIEnv* env, jobject obj, jobject handler) { - ((QXmlSimpleReader*) QtSupport::getQt(env, obj))->setDeclHandler((QXmlDeclHandler*) QtSupport::getQt(env, handler)); + ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->setDeclHandler((TQXmlDeclHandler*) QtSupport::getQt(env, handler)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QXmlSimpleReader_setEntityResolver(JNIEnv* env, jobject obj, jobject handler) { - ((QXmlSimpleReader*) QtSupport::getQt(env, obj))->setEntityResolver((QXmlEntityResolver*) QtSupport::getQt(env, handler)); + ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->setEntityResolver((TQXmlEntityResolver*) QtSupport::getQt(env, handler)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QXmlSimpleReader_setErrorHandler(JNIEnv* env, jobject obj, jobject handler) { - ((QXmlSimpleReader*) QtSupport::getQt(env, obj))->setErrorHandler((QXmlErrorHandler*) QtSupport::getQt(env, handler)); + ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->setErrorHandler((TQXmlErrorHandler*) QtSupport::getQt(env, handler)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QXmlSimpleReader_setFeature(JNIEnv* env, jobject obj, jstring name, jboolean value) { -static QString* _qstring_name = 0; - ((QXmlSimpleReader*) QtSupport::getQt(env, obj))->setFeature((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (bool) value); +static TQString* _qstring_name = 0; + ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->setFeature((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (bool) value); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QXmlSimpleReader_setLexicalHandler(JNIEnv* env, jobject obj, jobject handler) { - ((QXmlSimpleReader*) QtSupport::getQt(env, obj))->setLexicalHandler((QXmlLexicalHandler*) QtSupport::getQt(env, handler)); + ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->setLexicalHandler((TQXmlLexicalHandler*) QtSupport::getQt(env, handler)); return; } |