diff options
Diffstat (limited to 'qtjava/javalib/qtjava/QXmlNamespaceSupport.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/QXmlNamespaceSupport.cpp | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/qtjava/javalib/qtjava/QXmlNamespaceSupport.cpp b/qtjava/javalib/qtjava/QXmlNamespaceSupport.cpp index 439d2e84..10da6e6d 100644 --- a/qtjava/javalib/qtjava/QXmlNamespaceSupport.cpp +++ b/qtjava/javalib/qtjava/QXmlNamespaceSupport.cpp @@ -9,7 +9,7 @@ class TQXmlNamespaceSupportJBridge : public TQXmlNamespaceSupport { public: - TQXmlNamespaceSupportJBridge() : TTQXmlNamespaceSupport() {}; + TQXmlNamespaceSupportJBridge() : TQXmlNamespaceSupport() {}; ~TQXmlNamespaceSupportJBridge() {QtSupport::qtKeyDeleted(this);} }; @@ -24,7 +24,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TTQXmlNamespaceSupport*)QtSupport::getQt(env, obj); + delete (TQXmlNamespaceSupport*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -49,43 +49,43 @@ Java_org_kde_qt_QXmlNamespaceSupport_newTQXmlNamespaceSupport(JNIEnv* env, jobje JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_popContext(JNIEnv* env, jobject obj) { - ((TTQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->popContext(); + ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->popContext(); return; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlNamespaceSupport_prefix(JNIEnv* env, jobject obj, jstring arg1) { - TTQString _qstring; -static TTQString* _qstring_arg1 = 0; - _qstring = ((TTQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->prefix((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + TQString _qstring; +static TQString* _qstring_arg1 = 0; + _qstring = ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->prefix((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlNamespaceSupport_prefixes__(JNIEnv* env, jobject obj) { - TTQStringList _qlist; - _qlist = ((TTQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->prefixes(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); + TQStringList _qlist; + _qlist = ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->prefixes(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlNamespaceSupport_prefixes__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) { - 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); + TQStringList _qlist; +static TQString* _qstring_arg1 = 0; + _qlist = ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->prefixes((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); } JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_processName(JNIEnv* env, jobject obj, jstring arg1, jboolean arg2, jobject arg3, jobject 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)); +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::toTQString(env, arg1, &_qstring_arg1), (bool) arg2, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, arg3, &_qstring_arg3), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, arg4, &_qstring_arg4)); QtSupport::fromTQStringToStringBuffer(env, _qstring_arg3, arg3); QtSupport::fromTQStringToStringBuffer(env, _qstring_arg4, arg4); return; @@ -94,33 +94,33 @@ static TTQString* _qstring_arg4 = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_pushContext(JNIEnv* env, jobject obj) { - ((TTQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->pushContext(); + ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->pushContext(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_reset(JNIEnv* env, jobject obj) { - ((TTQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->reset(); + ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->reset(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_setPrefix(JNIEnv* env, jobject obj, jstring arg1, jstring 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)); +static TQString* _qstring_arg1 = 0; +static TQString* _qstring_arg2 = 0; + ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->setPrefix((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) 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 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)); +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::toTQString(env, arg1, &_qstring_arg1), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, arg2, &_qstring_arg2), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, arg3, &_qstring_arg3)); QtSupport::fromTQStringToStringBuffer(env, _qstring_arg2, arg2); QtSupport::fromTQStringToStringBuffer(env, _qstring_arg3, arg3); return; @@ -129,9 +129,9 @@ static TTQString* _qstring_arg3 = 0; JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlNamespaceSupport_uri(JNIEnv* env, jobject obj, jstring arg1) { - TTQString _qstring; -static TTQString* _qstring_arg1 = 0; - _qstring = ((TTQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->uri((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + TQString _qstring; +static TQString* _qstring_arg1 = 0; + _qstring = ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->uri((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); return QtSupport::fromTQString(env, &_qstring); } |