diff options
Diffstat (limited to 'tdejava/koala/tdejava/HTMLIsIndexElement.cpp')
-rw-r--r-- | tdejava/koala/tdejava/HTMLIsIndexElement.cpp | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/tdejava/koala/tdejava/HTMLIsIndexElement.cpp b/tdejava/koala/tdejava/HTMLIsIndexElement.cpp new file mode 100644 index 00000000..807439e2 --- /dev/null +++ b/tdejava/koala/tdejava/HTMLIsIndexElement.cpp @@ -0,0 +1,70 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <dom/dom_string.h> +#include <dom/dom_node.h> +#include <dom/html_form.h> + +#include <qtjava/QtSupport.h> +#include <tdejava/TDESupport.h> +#include <tdejava/HTMLIsIndexElement.h> + +class HTMLIsIndexElementJBridge : public DOM::HTMLIsIndexElement +{ +public: + HTMLIsIndexElementJBridge() : DOM::HTMLIsIndexElement() {}; + HTMLIsIndexElementJBridge(const DOM::HTMLIsIndexElement& arg1) : DOM::HTMLIsIndexElement(arg1) {}; + HTMLIsIndexElementJBridge(const DOM::Node& arg1) : DOM::HTMLIsIndexElement(arg1) {}; +}; + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_HTMLIsIndexElement_formElement(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLFormElement(((DOM::HTMLIsIndexElement*) QtSupport::getQt(env, obj))->form()), "org.trinitydesktop.koala.HTMLFormElement", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_HTMLIsIndexElement_newHTMLIsIndexElement__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new HTMLIsIndexElementJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_HTMLIsIndexElement_newHTMLIsIndexElement__Lorg_trinitydesktop_koala_HTMLIsIndexElement_2(JNIEnv* env, jobject obj, jobject other) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new HTMLIsIndexElementJBridge((const DOM::HTMLIsIndexElement&)*(const DOM::HTMLIsIndexElement*) QtSupport::getQt(env, other))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_HTMLIsIndexElement_newHTMLIsIndexElement__Lorg_trinitydesktop_koala_Node_2(JNIEnv* env, jobject obj, jobject other) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new HTMLIsIndexElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_trinitydesktop_koala_HTMLIsIndexElement_prompt(JNIEnv* env, jobject obj) +{ + DOM::DOMString _qstring; + _qstring = ((DOM::HTMLIsIndexElement*) QtSupport::getQt(env, obj))->prompt(); + return KDESupport::fromDOMString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_HTMLIsIndexElement_setPrompt(JNIEnv* env, jobject obj, jstring arg1) +{ +static DOM::DOMString* _domstring_arg1 = 0; + ((DOM::HTMLIsIndexElement*) QtSupport::getQt(env, obj))->setPrompt((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); + return; +} + |