diff options
Diffstat (limited to 'qtjava/javalib/qtjava/TQXmlParseException.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/TQXmlParseException.cpp | 148 |
1 files changed, 148 insertions, 0 deletions
diff --git a/qtjava/javalib/qtjava/TQXmlParseException.cpp b/qtjava/javalib/qtjava/TQXmlParseException.cpp new file mode 100644 index 00000000..a10ec15f --- /dev/null +++ b/qtjava/javalib/qtjava/TQXmlParseException.cpp @@ -0,0 +1,148 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <tqxml.h> +#include <tqstring.h> + +#include <qtjava/QtSupport.h> +#include <qtjava/TQXmlParseException.h> + +class TQXmlParseExceptionJBridge : public TQXmlParseException +{ +public: + TQXmlParseExceptionJBridge(const TQString& arg1,int arg2,int arg3,const TQString& arg4,const TQString& arg5) : TQXmlParseException(arg1,arg2,arg3,arg4,arg5) {}; + TQXmlParseExceptionJBridge(const TQString& arg1,int arg2,int arg3,const TQString& arg4) : TQXmlParseException(arg1,arg2,arg3,arg4) {}; + TQXmlParseExceptionJBridge(const TQString& arg1,int arg2,int arg3) : TQXmlParseException(arg1,arg2,arg3) {}; + TQXmlParseExceptionJBridge(const TQString& arg1,int arg2) : TQXmlParseException(arg1,arg2) {}; + TQXmlParseExceptionJBridge(const TQString& arg1) : TQXmlParseException(arg1) {}; + TQXmlParseExceptionJBridge() : TQXmlParseException() {}; + ~TQXmlParseExceptionJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QXmlParseException_columnNumber(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQXmlParseException*) QtSupport::getQt(env, obj))->columnNumber(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlParseException_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QXmlParseException_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlParseException_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQXmlParseException*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlParseException_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QXmlParseException_lineNumber(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQXmlParseException*) QtSupport::getQt(env, obj))->lineNumber(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QXmlParseException_message(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQXmlParseException*) QtSupport::getQt(env, obj))->message(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlParseException_newTQXmlParseException__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQXmlParseExceptionJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlParseException_newTQXmlParseException__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQXmlParseExceptionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlParseException_newTQXmlParseException__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint c) +{ +static TQString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQXmlParseExceptionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) c)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlParseException_newTQXmlParseException__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint c, jint l) +{ +static TQString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQXmlParseExceptionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) c, (int) l)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlParseException_newTQXmlParseException__Ljava_lang_String_2IILjava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jint c, jint l, jstring p) +{ +static TQString* _qstring_name = 0; +static TQString* _qstring_p = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQXmlParseExceptionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) c, (int) l, (const TQString&)*(TQString*) QtSupport::toTQString(env, p, &_qstring_p))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlParseException_newTQXmlParseException__Ljava_lang_String_2IILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jint c, jint l, jstring p, jstring s) +{ +static TQString* _qstring_name = 0; +static TQString* _qstring_p = 0; +static TQString* _qstring_s = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQXmlParseExceptionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) c, (int) l, (const TQString&)*(TQString*) QtSupport::toTQString(env, p, &_qstring_p), (const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QXmlParseException_publicId(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQXmlParseException*) QtSupport::getQt(env, obj))->publicId(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QXmlParseException_systemId(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQXmlParseException*) QtSupport::getQt(env, obj))->systemId(); + return QtSupport::fromTQString(env, &_qstring); +} + |