summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/QDomDocument.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/qtjava/QDomDocument.cpp')
-rw-r--r--qtjava/javalib/qtjava/QDomDocument.cpp248
1 files changed, 124 insertions, 124 deletions
diff --git a/qtjava/javalib/qtjava/QDomDocument.cpp b/qtjava/javalib/qtjava/QDomDocument.cpp
index 2e720546..f3f93887 100644
--- a/qtjava/javalib/qtjava/QDomDocument.cpp
+++ b/qtjava/javalib/qtjava/QDomDocument.cpp
@@ -1,7 +1,7 @@
//Auto-generated by kalyptus. DO NOT EDIT.
-#include <qstring.h>
-#include <qdom.h>
-#include <qcstring.h>
+#include <tqstring.h>
+#include <tqdom.h>
+#include <tqcstring.h>
#include <qtjava/QtSupport.h>
#include <qtjava/QDomDocument.h>
@@ -9,92 +9,92 @@
class QDomDocumentJBridge : public QDomDocument
{
public:
- QDomDocumentJBridge() : QDomDocument() {};
- QDomDocumentJBridge(const QString& arg1) : QDomDocument(arg1) {};
- QDomDocumentJBridge(const QDomDocumentType& arg1) : QDomDocument(arg1) {};
- QDomDocumentJBridge(const QDomDocument& arg1) : QDomDocument(arg1) {};
+ QDomDocumentJBridge() : TQDomDocument() {};
+ QDomDocumentJBridge(const TQString& arg1) : TQDomDocument(arg1) {};
+ QDomDocumentJBridge(const TQDomDocumentType& arg1) : TQDomDocument(arg1) {};
+ QDomDocumentJBridge(const TQDomDocument& arg1) : TQDomDocument(arg1) {};
~QDomDocumentJBridge() {QtSupport::qtKeyDeleted(this);}
};
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_createAttributeNS(JNIEnv* env, jobject obj, jstring nsURI, jstring qName)
{
-static QString* _qstring_nsURI = 0;
-static QString* _qstring_qName = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomAttr(((QDomDocument*) QtSupport::getQt(env, obj))->createAttributeNS((const QString&)*(QString*) QtSupport::toQString(env, nsURI, &_qstring_nsURI), (const QString&)*(QString*) QtSupport::toQString(env, qName, &_qstring_qName))), "org.kde.qt.QDomAttr", TRUE);
+static TQString* _qstring_nsURI = 0;
+static TQString* _qstring_qName = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomAttr(((TQDomDocument*) QtSupport::getQt(env, obj))->createAttributeNS((const TQString&)*(TQString*) QtSupport::toQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toQString(env, qName, &_qstring_qName))), "org.kde.qt.TQDomAttr", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_createAttribute(JNIEnv* env, jobject obj, jstring name)
{
-static QString* _qstring_name = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomAttr(((QDomDocument*) QtSupport::getQt(env, obj))->createAttribute((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name))), "org.kde.qt.QDomAttr", TRUE);
+static TQString* _qstring_name = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomAttr(((TQDomDocument*) QtSupport::getQt(env, obj))->createAttribute((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name))), "org.kde.qt.TQDomAttr", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_createCDATASection(JNIEnv* env, jobject obj, jstring data)
{
-static QString* _qstring_data = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomCDATASection(((QDomDocument*) QtSupport::getQt(env, obj))->createCDATASection((const QString&)*(QString*) QtSupport::toQString(env, data, &_qstring_data))), "org.kde.qt.QDomCDATASection", TRUE);
+static TQString* _qstring_data = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomCDATASection(((TQDomDocument*) QtSupport::getQt(env, obj))->createCDATASection((const TQString&)*(TQString*) QtSupport::toQString(env, data, &_qstring_data))), "org.kde.qt.TQDomCDATASection", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_createComment(JNIEnv* env, jobject obj, jstring data)
{
-static QString* _qstring_data = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomComment(((QDomDocument*) QtSupport::getQt(env, obj))->createComment((const QString&)*(QString*) QtSupport::toQString(env, data, &_qstring_data))), "org.kde.qt.QDomComment", TRUE);
+static TQString* _qstring_data = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomComment(((TQDomDocument*) QtSupport::getQt(env, obj))->createComment((const TQString&)*(TQString*) QtSupport::toQString(env, data, &_qstring_data))), "org.kde.qt.TQDomComment", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_createDocumentFragment(JNIEnv* env, jobject obj)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomDocumentFragment(((QDomDocument*) QtSupport::getQt(env, obj))->createDocumentFragment()), "org.kde.qt.QDomDocumentFragment", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocumentFragment(((TQDomDocument*) QtSupport::getQt(env, obj))->createDocumentFragment()), "org.kde.qt.TQDomDocumentFragment", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_createElementNS(JNIEnv* env, jobject obj, jstring nsURI, jstring qName)
{
-static QString* _qstring_nsURI = 0;
-static QString* _qstring_qName = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomElement(((QDomDocument*) QtSupport::getQt(env, obj))->createElementNS((const QString&)*(QString*) QtSupport::toQString(env, nsURI, &_qstring_nsURI), (const QString&)*(QString*) QtSupport::toQString(env, qName, &_qstring_qName))), "org.kde.qt.QDomElement", TRUE);
+static TQString* _qstring_nsURI = 0;
+static TQString* _qstring_qName = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomElement(((TQDomDocument*) QtSupport::getQt(env, obj))->createElementNS((const TQString&)*(TQString*) QtSupport::toQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toQString(env, qName, &_qstring_qName))), "org.kde.qt.TQDomElement", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_createElement(JNIEnv* env, jobject obj, jstring tagName)
{
-static QString* _qstring_tagName = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomElement(((QDomDocument*) QtSupport::getQt(env, obj))->createElement((const QString&)*(QString*) QtSupport::toQString(env, tagName, &_qstring_tagName))), "org.kde.qt.QDomElement", TRUE);
+static TQString* _qstring_tagName = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomElement(((TQDomDocument*) QtSupport::getQt(env, obj))->createElement((const TQString&)*(TQString*) QtSupport::toQString(env, tagName, &_qstring_tagName))), "org.kde.qt.TQDomElement", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_createEntityReference(JNIEnv* env, jobject obj, jstring name)
{
-static QString* _qstring_name = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomEntityReference(((QDomDocument*) QtSupport::getQt(env, obj))->createEntityReference((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name))), "org.kde.qt.QDomEntityReference", TRUE);
+static TQString* _qstring_name = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomEntityReference(((TQDomDocument*) QtSupport::getQt(env, obj))->createEntityReference((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name))), "org.kde.qt.TQDomEntityReference", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_createProcessingInstruction(JNIEnv* env, jobject obj, jstring target, jstring data)
{
-static QString* _qstring_target = 0;
-static QString* _qstring_data = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomProcessingInstruction(((QDomDocument*) QtSupport::getQt(env, obj))->createProcessingInstruction((const QString&)*(QString*) QtSupport::toQString(env, target, &_qstring_target), (const QString&)*(QString*) QtSupport::toQString(env, data, &_qstring_data))), "org.kde.qt.QDomProcessingInstruction", TRUE);
+static TQString* _qstring_target = 0;
+static TQString* _qstring_data = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomProcessingInstruction(((TQDomDocument*) QtSupport::getQt(env, obj))->createProcessingInstruction((const TQString&)*(TQString*) QtSupport::toQString(env, target, &_qstring_target), (const TQString&)*(TQString*) QtSupport::toQString(env, data, &_qstring_data))), "org.kde.qt.TQDomProcessingInstruction", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_createTextNode(JNIEnv* env, jobject obj, jstring data)
{
-static QString* _qstring_data = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomText(((QDomDocument*) QtSupport::getQt(env, obj))->createTextNode((const QString&)*(QString*) QtSupport::toQString(env, data, &_qstring_data))), "org.kde.qt.QDomText", TRUE);
+static TQString* _qstring_data = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomText(((TQDomDocument*) QtSupport::getQt(env, obj))->createTextNode((const TQString&)*(TQString*) QtSupport::toQString(env, data, &_qstring_data))), "org.kde.qt.TQDomText", TRUE);
return xret;
}
@@ -108,49 +108,49 @@ Java_org_kde_qt_QDomDocument_dispose(JNIEnv* env, jobject obj)
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_doctype(JNIEnv* env, jobject obj)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomDocumentType(((QDomDocument*) QtSupport::getQt(env, obj))->doctype()), "org.kde.qt.QDomDocumentType", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocumentType(((TQDomDocument*) QtSupport::getQt(env, obj))->doctype()), "org.kde.qt.TQDomDocumentType", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_documentElement(JNIEnv* env, jobject obj)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomElement(((QDomDocument*) QtSupport::getQt(env, obj))->documentElement()), "org.kde.qt.QDomElement", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomElement(((TQDomDocument*) QtSupport::getQt(env, obj))->documentElement()), "org.kde.qt.TQDomElement", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_elementById(JNIEnv* env, jobject obj, jstring elementId)
{
-static QString* _qstring_elementId = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomElement(((QDomDocument*) QtSupport::getQt(env, obj))->elementById((const QString&)*(QString*) QtSupport::toQString(env, elementId, &_qstring_elementId))), "org.kde.qt.QDomElement", TRUE);
+static TQString* _qstring_elementId = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomElement(((TQDomDocument*) QtSupport::getQt(env, obj))->elementById((const TQString&)*(TQString*) QtSupport::toQString(env, elementId, &_qstring_elementId))), "org.kde.qt.TQDomElement", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_elementsByTagNameNS(JNIEnv* env, jobject obj, jstring nsURI, jstring localName)
{
- QDomNodeList _qlist;
-static QString* _qstring_nsURI = 0;
-static QString* _qstring_localName = 0;
- _qlist = ((QDomDocument*) QtSupport::getQt(env, obj))->elementsByTagNameNS((const QString&)*(QString*) QtSupport::toQString(env, nsURI, &_qstring_nsURI), (const QString&)*(QString*) QtSupport::toQString(env, localName, &_qstring_localName));
- return (jobject) QtSupport::arrayWithQDomNodeList(env, (QDomNodeList*) &_qlist);
+ TQDomNodeList _qlist;
+static TQString* _qstring_nsURI = 0;
+static TQString* _qstring_localName = 0;
+ _qlist = ((TQDomDocument*) QtSupport::getQt(env, obj))->elementsByTagNameNS((const TQString&)*(TQString*) QtSupport::toQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toQString(env, localName, &_qstring_localName));
+ return (jobject) QtSupport::arrayWithQDomNodeList(env, (TQDomNodeList*) &_qlist);
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_elementsByTagName(JNIEnv* env, jobject obj, jstring tagname)
{
- QDomNodeList _qlist;
-static QString* _qstring_tagname = 0;
- _qlist = ((QDomDocument*) QtSupport::getQt(env, obj))->elementsByTagName((const QString&)*(QString*) QtSupport::toQString(env, tagname, &_qstring_tagname));
- return (jobject) QtSupport::arrayWithQDomNodeList(env, (QDomNodeList*) &_qlist);
+ TQDomNodeList _qlist;
+static TQString* _qstring_tagname = 0;
+ _qlist = ((TQDomDocument*) QtSupport::getQt(env, obj))->elementsByTagName((const TQString&)*(TQString*) QtSupport::toQString(env, tagname, &_qstring_tagname));
+ return (jobject) QtSupport::arrayWithQDomNodeList(env, (TQDomNodeList*) &_qlist);
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QDomDocument_finalize(JNIEnv* env, jobject obj)
{
if (QtSupport::allocatedInJavaWorld(env, obj)) {
- delete (QDomDocument*)QtSupport::getQt(env, obj);
+ delete (TQDomDocument*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
return;
@@ -159,14 +159,14 @@ Java_org_kde_qt_QDomDocument_finalize(JNIEnv* env, jobject obj)
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_implementation(JNIEnv* env, jobject obj)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomImplementation(((QDomDocument*) QtSupport::getQt(env, obj))->implementation()), "org.kde.qt.QDomImplementation", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomImplementation(((TQDomDocument*) QtSupport::getQt(env, obj))->implementation()), "org.kde.qt.TQDomImplementation", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_importNode(JNIEnv* env, jobject obj, jobject importedNode, jboolean deep)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomNode(((QDomDocument*) QtSupport::getQt(env, obj))->importNode((const QDomNode&)*(const QDomNode*) QtSupport::getQt(env, importedNode), (bool) deep)), "org.kde.qt.QDomNode", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomDocument*) QtSupport::getQt(env, obj))->importNode((const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, importedNode), (bool) deep)), "org.kde.qt.TQDomNode", TRUE);
return xret;
}
@@ -179,7 +179,7 @@ Java_org_kde_qt_QDomDocument_isDisposed(JNIEnv* env, jobject obj)
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_isDocument(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->isDocument();
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->isDocument();
return xret;
}
@@ -196,9 +196,9 @@ Java_org_kde_qt_QDomDocument_newQDomDocument__(JNIEnv* env, jobject obj)
JNIEXPORT void JNICALL
Java_org_kde_qt_QDomDocument_newQDomDocument__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name)
{
-static QString* _qstring_name = 0;
+static TQString* _qstring_name = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QDomDocumentJBridge((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name)));
+ QtSupport::setQt(env, obj, new QDomDocumentJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -208,7 +208,7 @@ JNIEXPORT void JNICALL
Java_org_kde_qt_QDomDocument_newQDomDocument__Lorg_kde_qt_QDomDocumentType_2(JNIEnv* env, jobject obj, jobject doctype)
{
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QDomDocumentJBridge((const QDomDocumentType&)*(const QDomDocumentType*) QtSupport::getQt(env, doctype)));
+ QtSupport::setQt(env, obj, new QDomDocumentJBridge((const TQDomDocumentType&)*(const TQDomDocumentType*) QtSupport::getQt(env, doctype)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -218,7 +218,7 @@ JNIEXPORT void JNICALL
Java_org_kde_qt_QDomDocument_newQDomDocument__Lorg_kde_qt_QDomDocument_2(JNIEnv* env, jobject obj, jobject x)
{
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QDomDocumentJBridge((const QDomDocument&)*(const QDomDocument*) QtSupport::getQt(env, x)));
+ QtSupport::setQt(env, obj, new QDomDocumentJBridge((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, x)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -227,24 +227,24 @@ Java_org_kde_qt_QDomDocument_newQDomDocument__Lorg_kde_qt_QDomDocument_2(JNIEnv*
JNIEXPORT jint JNICALL
Java_org_kde_qt_QDomDocument_nodeType(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((QDomDocument*) QtSupport::getQt(env, obj))->nodeType();
+ jint xret = (jint) ((TQDomDocument*) QtSupport::getQt(env, obj))->nodeType();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text)
{
-static QCString* _qcstring_text = 0;
- jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((const QCString&)*(QCString*) QtSupport::toQCString(env, text, &_qcstring_text));
+static TQCString* _qcstring_text = 0;
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQCString&)*(TQCString*) QtSupport::toQCString(env, text, &_qcstring_text));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jstring text, jobject errorMsg)
{
-static QCString* _qcstring_text = 0;
-static QString* _qstring_errorMsg = 0;
- jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((const QCString&)*(QCString*) QtSupport::toQCString(env, text, &_qcstring_text), (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg));
+static TQCString* _qcstring_text = 0;
+static TQString* _qstring_errorMsg = 0;
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQCString&)*(TQCString*) QtSupport::toQCString(env, text, &_qcstring_text), (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg));
QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
return xret;
}
@@ -252,10 +252,10 @@ static QString* _qstring_errorMsg = 0;
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jobject obj, jstring text, jobject errorMsg, jintArray errorLine)
{
-static QCString* _qcstring_text = 0;
-static QString* _qstring_errorMsg = 0;
+static TQCString* _qcstring_text = 0;
+static TQString* _qstring_errorMsg = 0;
int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
- jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((const QCString&)*(QCString*) QtSupport::toQCString(env, text, &_qcstring_text), (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine);
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQCString&)*(TQCString*) QtSupport::toQCString(env, text, &_qcstring_text), (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine);
QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
return xret;
@@ -264,11 +264,11 @@ static QString* _qstring_errorMsg = 0;
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2Ljava_lang_StringBuffer_2_3I_3I(JNIEnv* env, jobject obj, jstring text, jobject errorMsg, jintArray errorLine, jintArray errorColumn)
{
-static QCString* _qcstring_text = 0;
-static QString* _qstring_errorMsg = 0;
+static TQCString* _qcstring_text = 0;
+static TQString* _qstring_errorMsg = 0;
int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
int* _int_errorColumn = QtSupport::toIntPtr(env, errorColumn);
- jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((const QCString&)*(QCString*) QtSupport::toQCString(env, text, &_qcstring_text), (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn);
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQCString&)*(TQCString*) QtSupport::toQCString(env, text, &_qcstring_text), (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn);
QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
env->SetIntArrayRegion(errorColumn, 0, 1, (jint *) _int_errorColumn);
@@ -278,17 +278,17 @@ static QString* _qstring_errorMsg = 0;
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jboolean namespaceProcessing)
{
-static QCString* _qcstring_text = 0;
- jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((const QCString&)*(QCString*) QtSupport::toQCString(env, text, &_qcstring_text), (bool) namespaceProcessing);
+static TQCString* _qcstring_text = 0;
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQCString&)*(TQCString*) QtSupport::toQCString(env, text, &_qcstring_text), (bool) namespaceProcessing);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2ZLjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jstring text, jboolean namespaceProcessing, jobject errorMsg)
{
-static QCString* _qcstring_text = 0;
-static QString* _qstring_errorMsg = 0;
- jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((const QCString&)*(QCString*) QtSupport::toQCString(env, text, &_qcstring_text), (bool) namespaceProcessing, (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg));
+static TQCString* _qcstring_text = 0;
+static TQString* _qstring_errorMsg = 0;
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQCString&)*(TQCString*) QtSupport::toQCString(env, text, &_qcstring_text), (bool) namespaceProcessing, (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg));
QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
return xret;
}
@@ -296,10 +296,10 @@ static QString* _qstring_errorMsg = 0;
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2ZLjava_lang_StringBuffer_2_3I(JNIEnv* env, jobject obj, jstring text, jboolean namespaceProcessing, jobject errorMsg, jintArray errorLine)
{
-static QCString* _qcstring_text = 0;
-static QString* _qstring_errorMsg = 0;
+static TQCString* _qcstring_text = 0;
+static TQString* _qstring_errorMsg = 0;
int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
- jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((const QCString&)*(QCString*) QtSupport::toQCString(env, text, &_qcstring_text), (bool) namespaceProcessing, (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine);
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQCString&)*(TQCString*) QtSupport::toQCString(env, text, &_qcstring_text), (bool) namespaceProcessing, (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine);
QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
return xret;
@@ -308,11 +308,11 @@ static QString* _qstring_errorMsg = 0;
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2ZLjava_lang_StringBuffer_2_3I_3I(JNIEnv* env, jobject obj, jstring text, jboolean namespaceProcessing, jobject errorMsg, jintArray errorLine, jintArray errorColumn)
{
-static QCString* _qcstring_text = 0;
-static QString* _qstring_errorMsg = 0;
+static TQCString* _qcstring_text = 0;
+static TQString* _qstring_errorMsg = 0;
int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
int* _int_errorColumn = QtSupport::toIntPtr(env, errorColumn);
- jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((const QCString&)*(QCString*) QtSupport::toQCString(env, text, &_qcstring_text), (bool) namespaceProcessing, (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn);
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQCString&)*(TQCString*) QtSupport::toQCString(env, text, &_qcstring_text), (bool) namespaceProcessing, (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn);
QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
env->SetIntArrayRegion(errorColumn, 0, 1, (jint *) _int_errorColumn);
@@ -322,15 +322,15 @@ static QString* _qstring_errorMsg = 0;
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject dev)
{
- jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((QIODevice*) QtSupport::getQt(env, dev));
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQIODevice*) QtSupport::getQt(env, dev));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject dev, jobject errorMsg)
{
-static QString* _qstring_errorMsg = 0;
- jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((QIODevice*) QtSupport::getQt(env, dev), (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg));
+static TQString* _qstring_errorMsg = 0;
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQIODevice*) QtSupport::getQt(env, dev), (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg));
QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
return xret;
}
@@ -338,9 +338,9 @@ static QString* _qstring_errorMsg = 0;
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jobject obj, jobject dev, jobject errorMsg, jintArray errorLine)
{
-static QString* _qstring_errorMsg = 0;
+static TQString* _qstring_errorMsg = 0;
int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
- jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((QIODevice*) QtSupport::getQt(env, dev), (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine);
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQIODevice*) QtSupport::getQt(env, dev), (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine);
QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
return xret;
@@ -349,10 +349,10 @@ static QString* _qstring_errorMsg = 0;
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_StringBuffer_2_3I_3I(JNIEnv* env, jobject obj, jobject dev, jobject errorMsg, jintArray errorLine, jintArray errorColumn)
{
-static QString* _qstring_errorMsg = 0;
+static TQString* _qstring_errorMsg = 0;
int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
int* _int_errorColumn = QtSupport::toIntPtr(env, errorColumn);
- jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((QIODevice*) QtSupport::getQt(env, dev), (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn);
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQIODevice*) QtSupport::getQt(env, dev), (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn);
QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
env->SetIntArrayRegion(errorColumn, 0, 1, (jint *) _int_errorColumn);
@@ -362,15 +362,15 @@ static QString* _qstring_errorMsg = 0;
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2Z(JNIEnv* env, jobject obj, jobject dev, jboolean namespaceProcessing)
{
- jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((QIODevice*) QtSupport::getQt(env, dev), (bool) namespaceProcessing);
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQIODevice*) QtSupport::getQt(env, dev), (bool) namespaceProcessing);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2ZLjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject dev, jboolean namespaceProcessing, jobject errorMsg)
{
-static QString* _qstring_errorMsg = 0;
- jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((QIODevice*) QtSupport::getQt(env, dev), (bool) namespaceProcessing, (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg));
+static TQString* _qstring_errorMsg = 0;
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQIODevice*) QtSupport::getQt(env, dev), (bool) namespaceProcessing, (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg));
QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
return xret;
}
@@ -378,9 +378,9 @@ static QString* _qstring_errorMsg = 0;
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2ZLjava_lang_StringBuffer_2_3I(JNIEnv* env, jobject obj, jobject dev, jboolean namespaceProcessing, jobject errorMsg, jintArray errorLine)
{
-static QString* _qstring_errorMsg = 0;
+static TQString* _qstring_errorMsg = 0;
int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
- jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((QIODevice*) QtSupport::getQt(env, dev), (bool) namespaceProcessing, (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine);
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQIODevice*) QtSupport::getQt(env, dev), (bool) namespaceProcessing, (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine);
QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
return xret;
@@ -389,10 +389,10 @@ static QString* _qstring_errorMsg = 0;
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2ZLjava_lang_StringBuffer_2_3I_3I(JNIEnv* env, jobject obj, jobject dev, jboolean namespaceProcessing, jobject errorMsg, jintArray errorLine, jintArray errorColumn)
{
-static QString* _qstring_errorMsg = 0;
+static TQString* _qstring_errorMsg = 0;
int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
int* _int_errorColumn = QtSupport::toIntPtr(env, errorColumn);
- jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((QIODevice*) QtSupport::getQt(env, dev), (bool) namespaceProcessing, (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn);
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQIODevice*) QtSupport::getQt(env, dev), (bool) namespaceProcessing, (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn);
QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
env->SetIntArrayRegion(errorColumn, 0, 1, (jint *) _int_errorColumn);
@@ -402,15 +402,15 @@ static QString* _qstring_errorMsg = 0;
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QXmlInputSource_2Lorg_kde_qt_QXmlReader_2(JNIEnv* env, jobject obj, jobject source, jobject reader)
{
- jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((QXmlInputSource*) QtSupport::getQt(env, source), (QXmlReader*) QtSupport::getQt(env, reader));
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQXmlInputSource*) QtSupport::getQt(env, source), (TQXmlReader*) QtSupport::getQt(env, reader));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QXmlInputSource_2Lorg_kde_qt_QXmlReader_2Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject source, jobject reader, jobject errorMsg)
{
-static QString* _qstring_errorMsg = 0;
- jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((QXmlInputSource*) QtSupport::getQt(env, source), (QXmlReader*) QtSupport::getQt(env, reader), (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg));
+static TQString* _qstring_errorMsg = 0;
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQXmlInputSource*) QtSupport::getQt(env, source), (TQXmlReader*) QtSupport::getQt(env, reader), (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg));
QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
return xret;
}
@@ -418,9 +418,9 @@ static QString* _qstring_errorMsg = 0;
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QXmlInputSource_2Lorg_kde_qt_QXmlReader_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jobject obj, jobject source, jobject reader, jobject errorMsg, jintArray errorLine)
{
-static QString* _qstring_errorMsg = 0;
+static TQString* _qstring_errorMsg = 0;
int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
- jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((QXmlInputSource*) QtSupport::getQt(env, source), (QXmlReader*) QtSupport::getQt(env, reader), (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine);
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQXmlInputSource*) QtSupport::getQt(env, source), (TQXmlReader*) QtSupport::getQt(env, reader), (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine);
QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
return xret;
@@ -429,10 +429,10 @@ static QString* _qstring_errorMsg = 0;
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QXmlInputSource_2Lorg_kde_qt_QXmlReader_2Ljava_lang_StringBuffer_2_3I_3I(JNIEnv* env, jobject obj, jobject source, jobject reader, jobject errorMsg, jintArray errorLine, jintArray errorColumn)
{
-static QString* _qstring_errorMsg = 0;
+static TQString* _qstring_errorMsg = 0;
int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
int* _int_errorColumn = QtSupport::toIntPtr(env, errorColumn);
- jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((QXmlInputSource*) QtSupport::getQt(env, source), (QXmlReader*) QtSupport::getQt(env, reader), (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn);
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQXmlInputSource*) QtSupport::getQt(env, source), (TQXmlReader*) QtSupport::getQt(env, reader), (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn);
QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
env->SetIntArrayRegion(errorColumn, 0, 1, (jint *) _int_errorColumn);
@@ -442,17 +442,17 @@ static QString* _qstring_errorMsg = 0;
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent___3B(JNIEnv* env, jobject obj, jbyteArray text)
{
-static QByteArray* _qbyteArray_text = 0;
- jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, text, &_qbyteArray_text));
+static TQByteArray* _qbyteArray_text = 0;
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQByteArray&)*(TQByteArray*) QtSupport::toQByteArray(env, text, &_qbyteArray_text));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent___3BLjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jbyteArray text, jobject errorMsg)
{
-static QByteArray* _qbyteArray_text = 0;
-static QString* _qstring_errorMsg = 0;
- jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, text, &_qbyteArray_text), (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg));
+static TQByteArray* _qbyteArray_text = 0;
+static TQString* _qstring_errorMsg = 0;
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQByteArray&)*(TQByteArray*) QtSupport::toQByteArray(env, text, &_qbyteArray_text), (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg));
QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
return xret;
}
@@ -460,10 +460,10 @@ static QString* _qstring_errorMsg = 0;
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent___3BLjava_lang_StringBuffer_2_3I(JNIEnv* env, jobject obj, jbyteArray text, jobject errorMsg, jintArray errorLine)
{
-static QByteArray* _qbyteArray_text = 0;
-static QString* _qstring_errorMsg = 0;
+static TQByteArray* _qbyteArray_text = 0;
+static TQString* _qstring_errorMsg = 0;
int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
- jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, text, &_qbyteArray_text), (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine);
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQByteArray&)*(TQByteArray*) QtSupport::toQByteArray(env, text, &_qbyteArray_text), (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine);
QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
return xret;
@@ -472,11 +472,11 @@ static QString* _qstring_errorMsg = 0;
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent___3BLjava_lang_StringBuffer_2_3I_3I(JNIEnv* env, jobject obj, jbyteArray text, jobject errorMsg, jintArray errorLine, jintArray errorColumn)
{
-static QByteArray* _qbyteArray_text = 0;
-static QString* _qstring_errorMsg = 0;
+static TQByteArray* _qbyteArray_text = 0;
+static TQString* _qstring_errorMsg = 0;
int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
int* _int_errorColumn = QtSupport::toIntPtr(env, errorColumn);
- jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, text, &_qbyteArray_text), (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn);
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQByteArray&)*(TQByteArray*) QtSupport::toQByteArray(env, text, &_qbyteArray_text), (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn);
QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
env->SetIntArrayRegion(errorColumn, 0, 1, (jint *) _int_errorColumn);
@@ -486,17 +486,17 @@ static QString* _qstring_errorMsg = 0;
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent___3BZ(JNIEnv* env, jobject obj, jbyteArray text, jboolean namespaceProcessing)
{
-static QByteArray* _qbyteArray_text = 0;
- jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing);
+static TQByteArray* _qbyteArray_text = 0;
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQByteArray&)*(TQByteArray*) QtSupport::toQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent___3BZLjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jbyteArray text, jboolean namespaceProcessing, jobject errorMsg)
{
-static QByteArray* _qbyteArray_text = 0;
-static QString* _qstring_errorMsg = 0;
- jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing, (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg));
+static TQByteArray* _qbyteArray_text = 0;
+static TQString* _qstring_errorMsg = 0;
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQByteArray&)*(TQByteArray*) QtSupport::toQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing, (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg));
QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
return xret;
}
@@ -504,10 +504,10 @@ static QString* _qstring_errorMsg = 0;
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent___3BZLjava_lang_StringBuffer_2_3I(JNIEnv* env, jobject obj, jbyteArray text, jboolean namespaceProcessing, jobject errorMsg, jintArray errorLine)
{
-static QByteArray* _qbyteArray_text = 0;
-static QString* _qstring_errorMsg = 0;
+static TQByteArray* _qbyteArray_text = 0;
+static TQString* _qstring_errorMsg = 0;
int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
- jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing, (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine);
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQByteArray&)*(TQByteArray*) QtSupport::toQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing, (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine);
QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
return xret;
@@ -516,11 +516,11 @@ static QString* _qstring_errorMsg = 0;
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent___3BZLjava_lang_StringBuffer_2_3I_3I(JNIEnv* env, jobject obj, jbyteArray text, jboolean namespaceProcessing, jobject errorMsg, jintArray errorLine, jintArray errorColumn)
{
-static QByteArray* _qbyteArray_text = 0;
-static QString* _qstring_errorMsg = 0;
+static TQByteArray* _qbyteArray_text = 0;
+static TQString* _qstring_errorMsg = 0;
int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
int* _int_errorColumn = QtSupport::toIntPtr(env, errorColumn);
- jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing, (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn);
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQByteArray&)*(TQByteArray*) QtSupport::toQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing, (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn);
QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
env->SetIntArrayRegion(errorColumn, 0, 1, (jint *) _int_errorColumn);
@@ -530,32 +530,32 @@ static QString* _qstring_errorMsg = 0;
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QDomDocument_toCString__(JNIEnv* env, jobject obj)
{
- QCString _qstring;
- _qstring = ((QDomDocument*) QtSupport::getQt(env, obj))->toCString();
+ TQCString _qstring;
+ _qstring = ((TQDomDocument*) QtSupport::getQt(env, obj))->toCString();
return QtSupport::fromQCString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QDomDocument_toCString__I(JNIEnv* env, jobject obj, jint arg1)
{
- QCString _qstring;
- _qstring = ((QDomDocument*) QtSupport::getQt(env, obj))->toCString((int) arg1);
+ TQCString _qstring;
+ _qstring = ((TQDomDocument*) QtSupport::getQt(env, obj))->toCString((int) arg1);
return QtSupport::fromQCString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QDomDocument_toString__(JNIEnv* env, jobject obj)
{
- QString _qstring;
- _qstring = ((QDomDocument*) QtSupport::getQt(env, obj))->toString();
+ TQString _qstring;
+ _qstring = ((TQDomDocument*) QtSupport::getQt(env, obj))->toString();
return QtSupport::fromQString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QDomDocument_toString__I(JNIEnv* env, jobject obj, jint arg1)
{
- QString _qstring;
- _qstring = ((QDomDocument*) QtSupport::getQt(env, obj))->toString((int) arg1);
+ TQString _qstring;
+ _qstring = ((TQDomDocument*) QtSupport::getQt(env, obj))->toString((int) arg1);
return QtSupport::fromQString(env, &_qstring);
}