summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/TQDomNamedNodeMap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/qtjava/TQDomNamedNodeMap.cpp')
-rw-r--r--qtjava/javalib/qtjava/TQDomNamedNodeMap.cpp149
1 files changed, 149 insertions, 0 deletions
diff --git a/qtjava/javalib/qtjava/TQDomNamedNodeMap.cpp b/qtjava/javalib/qtjava/TQDomNamedNodeMap.cpp
new file mode 100644
index 00000000..e212185d
--- /dev/null
+++ b/qtjava/javalib/qtjava/TQDomNamedNodeMap.cpp
@@ -0,0 +1,149 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+#include <tqstring.h>
+#include <tqdom.h>
+
+#include <qtjava/QtSupport.h>
+#include <qtjava/TQDomNamedNodeMap.h>
+
+class TQDomNamedNodeMapJBridge : public TQDomNamedNodeMap
+{
+public:
+ TQDomNamedNodeMapJBridge() : TQDomNamedNodeMap() {};
+ TQDomNamedNodeMapJBridge(const TQDomNamedNodeMap& arg1) : TQDomNamedNodeMap(arg1) {};
+ ~TQDomNamedNodeMapJBridge() {QtSupport::qtKeyDeleted(this);}
+};
+
+JNIEXPORT jboolean JNICALL
+Java_org_kde_qt_QDomNamedNodeMap_contains(JNIEnv* env, jobject obj, jstring name)
+{
+static TQString* _qstring_name = 0;
+ jboolean xret = (jboolean) ((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->contains((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name));
+ return xret;
+}
+
+JNIEXPORT jint JNICALL
+Java_org_kde_qt_QDomNamedNodeMap_count(JNIEnv* env, jobject obj)
+{
+ jint xret = (jint) ((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->count();
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_qt_QDomNamedNodeMap_dispose(JNIEnv* env, jobject obj)
+{
+ Java_org_kde_qt_QDomNamedNodeMap_finalize(env, obj);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_qt_QDomNamedNodeMap_finalize(JNIEnv* env, jobject obj)
+{
+ if (QtSupport::allocatedInJavaWorld(env, obj)) {
+ delete (TQDomNamedNodeMap*)QtSupport::getQt(env, obj);
+ QtSupport::setQt(env, obj, 0);
+ }
+ return;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_kde_qt_QDomNamedNodeMap_isDisposed(JNIEnv* env, jobject obj)
+{
+ return (QtSupport::getQt(env, obj) == 0);
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_kde_qt_QDomNamedNodeMap_item(JNIEnv* env, jobject obj, jint index)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->item((int) index)), "org.kde.qt.TQDomNode", TRUE);
+ return xret;
+}
+
+JNIEXPORT jint JNICALL
+Java_org_kde_qt_QDomNamedNodeMap_length(JNIEnv* env, jobject obj)
+{
+ jint xret = (jint) ((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->length();
+ return xret;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_kde_qt_QDomNamedNodeMap_namedItemNS(JNIEnv* env, jobject obj, jstring nsURI, jstring localName)
+{
+static TQString* _qstring_nsURI = 0;
+static TQString* _qstring_localName = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->namedItemNS((const TQString&)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName))), "org.kde.qt.TQDomNode", TRUE);
+ return xret;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_kde_qt_QDomNamedNodeMap_namedItem(JNIEnv* env, jobject obj, jstring name)
+{
+static TQString* _qstring_name = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->namedItem((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQDomNode", TRUE);
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_qt_QDomNamedNodeMap_newTQDomNamedNodeMap__(JNIEnv* env, jobject obj)
+{
+ if (QtSupport::getQt(env, obj) == 0) {
+ QtSupport::setQt(env, obj, new TQDomNamedNodeMapJBridge());
+ QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
+ }
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_qt_QDomNamedNodeMap_newTQDomNamedNodeMap__Lorg_kde_qt_QDomNamedNodeMap_2(JNIEnv* env, jobject obj, jobject arg1)
+{
+ if (QtSupport::getQt(env, obj) == 0) {
+ QtSupport::setQt(env, obj, new TQDomNamedNodeMapJBridge((const TQDomNamedNodeMap&)*(const TQDomNamedNodeMap*) QtSupport::getQt(env, arg1)));
+ QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
+ }
+ return;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_kde_qt_QDomNamedNodeMap_op_1equals(JNIEnv* env, jobject obj, jobject arg1)
+{
+ jboolean xret = (jboolean) ((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->operator==((const TQDomNamedNodeMap&)*(const TQDomNamedNodeMap*) QtSupport::getQt(env, arg1));
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_kde_qt_QDomNamedNodeMap_op_1not_1equals(JNIEnv* env, jobject obj, jobject arg1)
+{
+ jboolean xret = (jboolean) ((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->operator!=((const TQDomNamedNodeMap&)*(const TQDomNamedNodeMap*) QtSupport::getQt(env, arg1));
+ return xret;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_kde_qt_QDomNamedNodeMap_removeNamedItemNS(JNIEnv* env, jobject obj, jstring nsURI, jstring localName)
+{
+static TQString* _qstring_nsURI = 0;
+static TQString* _qstring_localName = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->removeNamedItemNS((const TQString&)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName))), "org.kde.qt.TQDomNode", TRUE);
+ return xret;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_kde_qt_QDomNamedNodeMap_removeNamedItem(JNIEnv* env, jobject obj, jstring name)
+{
+static TQString* _qstring_name = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->removeNamedItem((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQDomNode", TRUE);
+ return xret;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_kde_qt_QDomNamedNodeMap_setNamedItemNS(JNIEnv* env, jobject obj, jobject newNode)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->setNamedItemNS((const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, newNode))), "org.kde.qt.TQDomNode", TRUE);
+ return xret;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_kde_qt_QDomNamedNodeMap_setNamedItem(JNIEnv* env, jobject obj, jobject newNode)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->setNamedItem((const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, newNode))), "org.kde.qt.TQDomNode", TRUE);
+ return xret;
+}
+