diff options
Diffstat (limited to 'qtjava/javalib/qtjava/QXmlNamespaceSupport.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/QXmlNamespaceSupport.cpp | 80 |
1 files changed, 40 insertions, 40 deletions
diff --git a/qtjava/javalib/qtjava/QXmlNamespaceSupport.cpp b/qtjava/javalib/qtjava/QXmlNamespaceSupport.cpp index 3a129977..439d2e84 100644 --- a/qtjava/javalib/qtjava/QXmlNamespaceSupport.cpp +++ b/qtjava/javalib/qtjava/QXmlNamespaceSupport.cpp @@ -4,13 +4,13 @@ #include <tqstringlist.h> #include <qtjava/QtSupport.h> -#include <qtjava/QXmlNamespaceSupport.h> +#include <qtjava/TQXmlNamespaceSupport.h> -class QXmlNamespaceSupportJBridge : public QXmlNamespaceSupport +class TQXmlNamespaceSupportJBridge : public TQXmlNamespaceSupport { public: - QXmlNamespaceSupportJBridge() : TQXmlNamespaceSupport() {}; - ~QXmlNamespaceSupportJBridge() {QtSupport::qtKeyDeleted(this);} + TQXmlNamespaceSupportJBridge() : TTQXmlNamespaceSupport() {}; + ~TQXmlNamespaceSupportJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -24,7 +24,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQXmlNamespaceSupport*)QtSupport::getQt(env, obj); + delete (TTQXmlNamespaceSupport*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -37,10 +37,10 @@ Java_org_kde_qt_QXmlNamespaceSupport_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlNamespaceSupport_newQXmlNamespaceSupport(JNIEnv* env, jobject obj) +Java_org_kde_qt_QXmlNamespaceSupport_newTQXmlNamespaceSupport(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QXmlNamespaceSupportJBridge()); + QtSupport::setQt(env, obj, new TQXmlNamespaceSupportJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -49,89 +49,89 @@ Java_org_kde_qt_QXmlNamespaceSupport_newQXmlNamespaceSupport(JNIEnv* env, jobjec JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_popContext(JNIEnv* env, jobject obj) { - ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->popContext(); + ((TTQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->popContext(); return; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlNamespaceSupport_prefix(JNIEnv* env, jobject obj, jstring arg1) { - TQString _qstring; -static TQString* _qstring_arg1 = 0; - _qstring = ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->prefix((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQString* _qstring_arg1 = 0; + _qstring = ((TTQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->prefix((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlNamespaceSupport_prefixes__(JNIEnv* env, jobject obj) { - TQStringList _qlist; - _qlist = ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->prefixes(); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; + _qlist = ((TTQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->prefixes(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlNamespaceSupport_prefixes__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) { - TQStringList _qlist; -static TQString* _qstring_arg1 = 0; - _qlist = ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->prefixes((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1)); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; +static TTQString* _qstring_arg1 = 0; + _qlist = ((TTQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->prefixes((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); } JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_processName(JNIEnv* env, jobject obj, jstring arg1, jboolean arg2, jobject arg3, jobject arg4) { -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; - ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->processName((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (bool) arg2, (TQString&)*(TQString*) QtSupport::toQStringFromStringBuffer(env, arg3, &_qstring_arg3), (TQString&)*(TQString*) QtSupport::toQStringFromStringBuffer(env, arg4, &_qstring_arg4)); - QtSupport::fromQStringToStringBuffer(env, _qstring_arg3, arg3); - QtSupport::fromQStringToStringBuffer(env, _qstring_arg4, arg4); +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg3 = 0; +static TTQString* _qstring_arg4 = 0; + ((TTQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->processName((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) arg2, (TTQString&)*(TTQString*) QtSupport::toTQStringFromStringBuffer(env, arg3, &_qstring_arg3), (TTQString&)*(TTQString*) QtSupport::toTQStringFromStringBuffer(env, arg4, &_qstring_arg4)); + QtSupport::fromTQStringToStringBuffer(env, _qstring_arg3, arg3); + QtSupport::fromTQStringToStringBuffer(env, _qstring_arg4, arg4); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_pushContext(JNIEnv* env, jobject obj) { - ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->pushContext(); + ((TTQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->pushContext(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_reset(JNIEnv* env, jobject obj) { - ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->reset(); + ((TTQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->reset(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_setPrefix(JNIEnv* env, jobject obj, jstring arg1, jstring arg2) { -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg2 = 0; - ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->setPrefix((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg2 = 0; + ((TTQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->setPrefix((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_splitName(JNIEnv* env, jobject obj, jstring arg1, jobject arg2, jobject arg3) { -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; - ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->splitName((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (TQString&)*(TQString*) QtSupport::toQStringFromStringBuffer(env, arg2, &_qstring_arg2), (TQString&)*(TQString*) QtSupport::toQStringFromStringBuffer(env, arg3, &_qstring_arg3)); - QtSupport::fromQStringToStringBuffer(env, _qstring_arg2, arg2); - QtSupport::fromQStringToStringBuffer(env, _qstring_arg3, arg3); +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg2 = 0; +static TTQString* _qstring_arg3 = 0; + ((TTQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->splitName((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TTQString&)*(TTQString*) QtSupport::toTQStringFromStringBuffer(env, arg2, &_qstring_arg2), (TTQString&)*(TTQString*) QtSupport::toTQStringFromStringBuffer(env, arg3, &_qstring_arg3)); + QtSupport::fromTQStringToStringBuffer(env, _qstring_arg2, arg2); + QtSupport::fromTQStringToStringBuffer(env, _qstring_arg3, arg3); return; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlNamespaceSupport_uri(JNIEnv* env, jobject obj, jstring arg1) { - TQString _qstring; -static TQString* _qstring_arg1 = 0; - _qstring = ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->uri((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQString* _qstring_arg1 = 0; + _qstring = ((TTQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->uri((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); } |