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.cpp242
1 files changed, 121 insertions, 121 deletions
diff --git a/qtjava/javalib/qtjava/QDomDocument.cpp b/qtjava/javalib/qtjava/QDomDocument.cpp
index 2e1f1b54..76ff1d87 100644
--- a/qtjava/javalib/qtjava/QDomDocument.cpp
+++ b/qtjava/javalib/qtjava/QDomDocument.cpp
@@ -9,92 +9,92 @@
class TQDomDocumentJBridge : public TQDomDocument
{
public:
- TQDomDocumentJBridge() : TTQDomDocument() {};
- TQDomDocumentJBridge(const TTQString& arg1) : TTQDomDocument(arg1) {};
- TQDomDocumentJBridge(const TTQDomDocumentType& arg1) : TTQDomDocument(arg1) {};
- TQDomDocumentJBridge(const TTQDomDocument& arg1) : TTQDomDocument(arg1) {};
+ TQDomDocumentJBridge() : TQDomDocument() {};
+ TQDomDocumentJBridge(const TQString& arg1) : TQDomDocument(arg1) {};
+ TQDomDocumentJBridge(const TQDomDocumentType& arg1) : TQDomDocument(arg1) {};
+ TQDomDocumentJBridge(const TQDomDocument& arg1) : TQDomDocument(arg1) {};
~TQDomDocumentJBridge() {QtSupport::qtKeyDeleted(this);}
};
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_createAttributeNS(JNIEnv* env, jobject obj, jstring nsURI, jstring qName)
{
-static TTQString* _qstring_nsURI = 0;
-static TTQString* _qstring_qName = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomAttr(((TTQDomDocument*) QtSupport::getQt(env, obj))->createAttributeNS((const TTQString&)*(TTQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, qName, &_qstring_qName))), "org.kde.qt.TTQDomAttr", 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::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(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 TTQString* _qstring_name = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomAttr(((TTQDomDocument*) QtSupport::getQt(env, obj))->createAttribute((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TTQDomAttr", TRUE);
+static TQString* _qstring_name = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomAttr(((TQDomDocument*) QtSupport::getQt(env, obj))->createAttribute((const TQString&)*(TQString*) QtSupport::toTQString(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 TTQString* _qstring_data = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomCDATASection(((TTQDomDocument*) QtSupport::getQt(env, obj))->createCDATASection((const TTQString&)*(TTQString*) QtSupport::toTQString(env, data, &_qstring_data))), "org.kde.qt.TTQDomCDATASection", TRUE);
+static TQString* _qstring_data = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomCDATASection(((TQDomDocument*) QtSupport::getQt(env, obj))->createCDATASection((const TQString&)*(TQString*) QtSupport::toTQString(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 TTQString* _qstring_data = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomComment(((TTQDomDocument*) QtSupport::getQt(env, obj))->createComment((const TTQString&)*(TTQString*) QtSupport::toTQString(env, data, &_qstring_data))), "org.kde.qt.TTQDomComment", TRUE);
+static TQString* _qstring_data = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomComment(((TQDomDocument*) QtSupport::getQt(env, obj))->createComment((const TQString&)*(TQString*) QtSupport::toTQString(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 TTQDomDocumentFragment(((TTQDomDocument*) QtSupport::getQt(env, obj))->createDocumentFragment()), "org.kde.qt.TTQDomDocumentFragment", 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 TTQString* _qstring_nsURI = 0;
-static TTQString* _qstring_qName = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomElement(((TTQDomDocument*) QtSupport::getQt(env, obj))->createElementNS((const TTQString&)*(TTQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, qName, &_qstring_qName))), "org.kde.qt.TTQDomElement", 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::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(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 TTQString* _qstring_tagName = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomElement(((TTQDomDocument*) QtSupport::getQt(env, obj))->createElement((const TTQString&)*(TTQString*) QtSupport::toTQString(env, tagName, &_qstring_tagName))), "org.kde.qt.TTQDomElement", TRUE);
+static TQString* _qstring_tagName = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomElement(((TQDomDocument*) QtSupport::getQt(env, obj))->createElement((const TQString&)*(TQString*) QtSupport::toTQString(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 TTQString* _qstring_name = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomEntityReference(((TTQDomDocument*) QtSupport::getQt(env, obj))->createEntityReference((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TTQDomEntityReference", TRUE);
+static TQString* _qstring_name = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomEntityReference(((TQDomDocument*) QtSupport::getQt(env, obj))->createEntityReference((const TQString&)*(TQString*) QtSupport::toTQString(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 TTQString* _qstring_target = 0;
-static TTQString* _qstring_data = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomProcessingInstruction(((TTQDomDocument*) QtSupport::getQt(env, obj))->createProcessingInstruction((const TTQString&)*(TTQString*) QtSupport::toTQString(env, target, &_qstring_target), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, data, &_qstring_data))), "org.kde.qt.TTQDomProcessingInstruction", 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::toTQString(env, target, &_qstring_target), (const TQString&)*(TQString*) QtSupport::toTQString(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 TTQString* _qstring_data = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomText(((TTQDomDocument*) QtSupport::getQt(env, obj))->createTextNode((const TTQString&)*(TTQString*) QtSupport::toTQString(env, data, &_qstring_data))), "org.kde.qt.TTQDomText", TRUE);
+static TQString* _qstring_data = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomText(((TQDomDocument*) QtSupport::getQt(env, obj))->createTextNode((const TQString&)*(TQString*) QtSupport::toTQString(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 TTQDomDocumentType(((TTQDomDocument*) QtSupport::getQt(env, obj))->doctype()), "org.kde.qt.TTQDomDocumentType", 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 TTQDomElement(((TTQDomDocument*) QtSupport::getQt(env, obj))->documentElement()), "org.kde.qt.TTQDomElement", 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 TTQString* _qstring_elementId = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomElement(((TTQDomDocument*) QtSupport::getQt(env, obj))->elementById((const TTQString&)*(TTQString*) QtSupport::toTQString(env, elementId, &_qstring_elementId))), "org.kde.qt.TTQDomElement", TRUE);
+static TQString* _qstring_elementId = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomElement(((TQDomDocument*) QtSupport::getQt(env, obj))->elementById((const TQString&)*(TQString*) QtSupport::toTQString(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)
{
- TTQDomNodeList _qlist;
-static TTQString* _qstring_nsURI = 0;
-static TTQString* _qstring_localName = 0;
- _qlist = ((TTQDomDocument*) QtSupport::getQt(env, obj))->elementsByTagNameNS((const TTQString&)*(TTQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, localName, &_qstring_localName));
- return (jobject) QtSupport::arrayWithTQDomNodeList(env, (TTQDomNodeList*) &_qlist);
+ TQDomNodeList _qlist;
+static TQString* _qstring_nsURI = 0;
+static TQString* _qstring_localName = 0;
+ _qlist = ((TQDomDocument*) QtSupport::getQt(env, obj))->elementsByTagNameNS((const TQString&)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName));
+ return (jobject) QtSupport::arrayWithTQDomNodeList(env, (TQDomNodeList*) &_qlist);
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_elementsByTagName(JNIEnv* env, jobject obj, jstring tagname)
{
- TTQDomNodeList _qlist;
-static TTQString* _qstring_tagname = 0;
- _qlist = ((TTQDomDocument*) QtSupport::getQt(env, obj))->elementsByTagName((const TTQString&)*(TTQString*) QtSupport::toTQString(env, tagname, &_qstring_tagname));
- return (jobject) QtSupport::arrayWithTQDomNodeList(env, (TTQDomNodeList*) &_qlist);
+ TQDomNodeList _qlist;
+static TQString* _qstring_tagname = 0;
+ _qlist = ((TQDomDocument*) QtSupport::getQt(env, obj))->elementsByTagName((const TQString&)*(TQString*) QtSupport::toTQString(env, tagname, &_qstring_tagname));
+ return (jobject) QtSupport::arrayWithTQDomNodeList(env, (TQDomNodeList*) &_qlist);
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QDomDocument_finalize(JNIEnv* env, jobject obj)
{
if (QtSupport::allocatedInJavaWorld(env, obj)) {
- delete (TTQDomDocument*)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 TTQDomImplementation(((TTQDomDocument*) QtSupport::getQt(env, obj))->implementation()), "org.kde.qt.TTQDomImplementation", 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 TTQDomNode(((TTQDomDocument*) QtSupport::getQt(env, obj))->importNode((const TTQDomNode&)*(const TTQDomNode*) QtSupport::getQt(env, importedNode), (bool) deep)), "org.kde.qt.TTQDomNode", 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) ((TTQDomDocument*) 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_newTQDomDocument__(JNIEnv* env, jobject obj)
JNIEXPORT void JNICALL
Java_org_kde_qt_QDomDocument_newTQDomDocument__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name)
{
-static TTQString* _qstring_name = 0;
+static TQString* _qstring_name = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new TQDomDocumentJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name)));
+ QtSupport::setQt(env, obj, new TQDomDocumentJBridge((const TQString&)*(TQString*) QtSupport::toTQString(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_newTQDomDocument__Lorg_kde_qt_QDomDocumentType_2(JNIEnv* env, jobject obj, jobject doctype)
{
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new TQDomDocumentJBridge((const TTQDomDocumentType&)*(const TTQDomDocumentType*) QtSupport::getQt(env, doctype)));
+ QtSupport::setQt(env, obj, new TQDomDocumentJBridge((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_newTQDomDocument__Lorg_kde_qt_QDomDocument_2(JNIEnv* env, jobject obj, jobject x)
{
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new TQDomDocumentJBridge((const TTQDomDocument&)*(const TTQDomDocument*) QtSupport::getQt(env, x)));
+ QtSupport::setQt(env, obj, new TQDomDocumentJBridge((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_newTQDomDocument__Lorg_kde_qt_QDomDocument_2(JNIEnv
JNIEXPORT jint JNICALL
Java_org_kde_qt_QDomDocument_nodeType(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((TTQDomDocument*) 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 TTQCString* _qcstring_text = 0;
- jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TTQCString&)*(TTQCString*) QtSupport::toTQCString(env, text, &_qcstring_text));
+static TQCString* _qcstring_text = 0;
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQCString&)*(TQCString*) QtSupport::toTQCString(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 TTQCString* _qcstring_text = 0;
-static TTQString* _qstring_errorMsg = 0;
- jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TTQCString&)*(TTQCString*) QtSupport::toTQCString(env, text, &_qcstring_text), (TTQString*) QtSupport::toTQStringFromStringBuffer(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::toTQCString(env, text, &_qcstring_text), (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg));
QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
return xret;
}
@@ -252,10 +252,10 @@ static TTQString* _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 TTQCString* _qcstring_text = 0;
-static TTQString* _qstring_errorMsg = 0;
+static TQCString* _qcstring_text = 0;
+static TQString* _qstring_errorMsg = 0;
int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
- jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TTQCString&)*(TTQCString*) QtSupport::toTQCString(env, text, &_qcstring_text), (TTQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine);
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, text, &_qcstring_text), (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine);
QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
return xret;
@@ -264,11 +264,11 @@ static TTQString* _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 TTQCString* _qcstring_text = 0;
-static TTQString* _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) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TTQCString&)*(TTQCString*) QtSupport::toTQCString(env, text, &_qcstring_text), (TTQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn);
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, text, &_qcstring_text), (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn);
QtSupport::fromTQStringToStringBuffer(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 TTQString* _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 TTQCString* _qcstring_text = 0;
- jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TTQCString&)*(TTQCString*) QtSupport::toTQCString(env, text, &_qcstring_text), (bool) namespaceProcessing);
+static TQCString* _qcstring_text = 0;
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQCString&)*(TQCString*) QtSupport::toTQCString(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 TTQCString* _qcstring_text = 0;
-static TTQString* _qstring_errorMsg = 0;
- jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TTQCString&)*(TTQCString*) QtSupport::toTQCString(env, text, &_qcstring_text), (bool) namespaceProcessing, (TTQString*) QtSupport::toTQStringFromStringBuffer(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::toTQCString(env, text, &_qcstring_text), (bool) namespaceProcessing, (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg));
QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
return xret;
}
@@ -296,10 +296,10 @@ static TTQString* _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 TTQCString* _qcstring_text = 0;
-static TTQString* _qstring_errorMsg = 0;
+static TQCString* _qcstring_text = 0;
+static TQString* _qstring_errorMsg = 0;
int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
- jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TTQCString&)*(TTQCString*) QtSupport::toTQCString(env, text, &_qcstring_text), (bool) namespaceProcessing, (TTQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine);
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, text, &_qcstring_text), (bool) namespaceProcessing, (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine);
QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
return xret;
@@ -308,11 +308,11 @@ static TTQString* _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 TTQCString* _qcstring_text = 0;
-static TTQString* _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) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TTQCString&)*(TTQCString*) QtSupport::toTQCString(env, text, &_qcstring_text), (bool) namespaceProcessing, (TTQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn);
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, text, &_qcstring_text), (bool) namespaceProcessing, (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn);
QtSupport::fromTQStringToStringBuffer(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 TTQString* _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) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((TTQIODevice*) 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 TTQString* _qstring_errorMsg = 0;
- jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((TTQIODevice*) QtSupport::getQt(env, dev), (TTQString*) QtSupport::toTQStringFromStringBuffer(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::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg));
QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
return xret;
}
@@ -338,9 +338,9 @@ static TTQString* _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 TTQString* _qstring_errorMsg = 0;
+static TQString* _qstring_errorMsg = 0;
int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
- jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((TTQIODevice*) QtSupport::getQt(env, dev), (TTQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine);
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQIODevice*) QtSupport::getQt(env, dev), (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine);
QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
return xret;
@@ -349,10 +349,10 @@ static TTQString* _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 TTQString* _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) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((TTQIODevice*) QtSupport::getQt(env, dev), (TTQString*) QtSupport::toTQStringFromStringBuffer(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::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn);
QtSupport::fromTQStringToStringBuffer(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 TTQString* _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) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((TTQIODevice*) 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 TTQString* _qstring_errorMsg = 0;
- jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((TTQIODevice*) QtSupport::getQt(env, dev), (bool) namespaceProcessing, (TTQString*) QtSupport::toTQStringFromStringBuffer(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::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg));
QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
return xret;
}
@@ -378,9 +378,9 @@ static TTQString* _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 TTQString* _qstring_errorMsg = 0;
+static TQString* _qstring_errorMsg = 0;
int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
- jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((TTQIODevice*) QtSupport::getQt(env, dev), (bool) namespaceProcessing, (TTQString*) QtSupport::toTQStringFromStringBuffer(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::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine);
QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
return xret;
@@ -389,10 +389,10 @@ static TTQString* _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 TTQString* _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) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((TTQIODevice*) QtSupport::getQt(env, dev), (bool) namespaceProcessing, (TTQString*) QtSupport::toTQStringFromStringBuffer(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::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn);
QtSupport::fromTQStringToStringBuffer(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 TTQString* _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) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((TTQXmlInputSource*) QtSupport::getQt(env, source), (TTQXmlReader*) 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 TTQString* _qstring_errorMsg = 0;
- jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((TTQXmlInputSource*) QtSupport::getQt(env, source), (TTQXmlReader*) QtSupport::getQt(env, reader), (TTQString*) QtSupport::toTQStringFromStringBuffer(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::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg));
QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
return xret;
}
@@ -418,9 +418,9 @@ static TTQString* _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 TTQString* _qstring_errorMsg = 0;
+static TQString* _qstring_errorMsg = 0;
int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
- jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((TTQXmlInputSource*) QtSupport::getQt(env, source), (TTQXmlReader*) QtSupport::getQt(env, reader), (TTQString*) QtSupport::toTQStringFromStringBuffer(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::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine);
QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
return xret;
@@ -429,10 +429,10 @@ static TTQString* _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 TTQString* _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) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((TTQXmlInputSource*) QtSupport::getQt(env, source), (TTQXmlReader*) QtSupport::getQt(env, reader), (TTQString*) QtSupport::toTQStringFromStringBuffer(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::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn);
QtSupport::fromTQStringToStringBuffer(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 TTQString* _qstring_errorMsg = 0;
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent___3B(JNIEnv* env, jobject obj, jbyteArray text)
{
-static TTQByteArray* _qbyteArray_text = 0;
- jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text));
+static TQByteArray* _qbyteArray_text = 0;
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(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 TTQByteArray* _qbyteArray_text = 0;
-static TTQString* _qstring_errorMsg = 0;
- jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text), (TTQString*) QtSupport::toTQStringFromStringBuffer(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::toTQByteArray(env, text, &_qbyteArray_text), (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg));
QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
return xret;
}
@@ -460,10 +460,10 @@ static TTQString* _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 TTQByteArray* _qbyteArray_text = 0;
-static TTQString* _qstring_errorMsg = 0;
+static TQByteArray* _qbyteArray_text = 0;
+static TQString* _qstring_errorMsg = 0;
int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
- jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text), (TTQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine);
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text), (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine);
QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
return xret;
@@ -472,11 +472,11 @@ static TTQString* _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 TTQByteArray* _qbyteArray_text = 0;
-static TTQString* _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) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text), (TTQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn);
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text), (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn);
QtSupport::fromTQStringToStringBuffer(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 TTQString* _qstring_errorMsg = 0;
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent___3BZ(JNIEnv* env, jobject obj, jbyteArray text, jboolean namespaceProcessing)
{
-static TTQByteArray* _qbyteArray_text = 0;
- jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing);
+static TQByteArray* _qbyteArray_text = 0;
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(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 TTQByteArray* _qbyteArray_text = 0;
-static TTQString* _qstring_errorMsg = 0;
- jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing, (TTQString*) QtSupport::toTQStringFromStringBuffer(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::toTQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing, (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg));
QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
return xret;
}
@@ -504,10 +504,10 @@ static TTQString* _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 TTQByteArray* _qbyteArray_text = 0;
-static TTQString* _qstring_errorMsg = 0;
+static TQByteArray* _qbyteArray_text = 0;
+static TQString* _qstring_errorMsg = 0;
int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
- jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing, (TTQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine);
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing, (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine);
QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
return xret;
@@ -516,11 +516,11 @@ static TTQString* _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 TTQByteArray* _qbyteArray_text = 0;
-static TTQString* _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) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing, (TTQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn);
+ jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing, (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn);
QtSupport::fromTQStringToStringBuffer(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 TTQString* _qstring_errorMsg = 0;
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QDomDocument_toCString__(JNIEnv* env, jobject obj)
{
- TTQCString _qstring;
- _qstring = ((TTQDomDocument*) QtSupport::getQt(env, obj))->toCString();
+ TQCString _qstring;
+ _qstring = ((TQDomDocument*) QtSupport::getQt(env, obj))->toCString();
return QtSupport::fromTQCString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QDomDocument_toCString__I(JNIEnv* env, jobject obj, jint arg1)
{
- TTQCString _qstring;
- _qstring = ((TTQDomDocument*) QtSupport::getQt(env, obj))->toCString((int) arg1);
+ TQCString _qstring;
+ _qstring = ((TQDomDocument*) QtSupport::getQt(env, obj))->toCString((int) arg1);
return QtSupport::fromTQCString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QDomDocument_toString__(JNIEnv* env, jobject obj)
{
- TTQString _qstring;
- _qstring = ((TTQDomDocument*) QtSupport::getQt(env, obj))->toString();
+ TQString _qstring;
+ _qstring = ((TQDomDocument*) QtSupport::getQt(env, obj))->toString();
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QDomDocument_toString__I(JNIEnv* env, jobject obj, jint arg1)
{
- TTQString _qstring;
- _qstring = ((TTQDomDocument*) QtSupport::getQt(env, obj))->toString((int) arg1);
+ TQString _qstring;
+ _qstring = ((TQDomDocument*) QtSupport::getQt(env, obj))->toString((int) arg1);
return QtSupport::fromTQString(env, &_qstring);
}