diff options
Diffstat (limited to 'tdejava/koala/tdejava/HTMLHeadElement.cpp')
-rw-r--r-- | tdejava/koala/tdejava/HTMLHeadElement.cpp | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/tdejava/koala/tdejava/HTMLHeadElement.cpp b/tdejava/koala/tdejava/HTMLHeadElement.cpp new file mode 100644 index 00000000..39f0f6a7 --- /dev/null +++ b/tdejava/koala/tdejava/HTMLHeadElement.cpp @@ -0,0 +1,63 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <dom/html_base.h> +#include <dom/dom_string.h> +#include <dom/dom_node.h> + +#include <qtjava/QtSupport.h> +#include <tdejava/TDESupport.h> +#include <tdejava/HTMLHeadElement.h> + +class HTMLHeadElementJBridge : public DOM::HTMLHeadElement +{ +public: + HTMLHeadElementJBridge() : DOM::HTMLHeadElement() {}; + HTMLHeadElementJBridge(const DOM::HTMLHeadElement& arg1) : DOM::HTMLHeadElement(arg1) {}; + HTMLHeadElementJBridge(const DOM::Node& arg1) : DOM::HTMLHeadElement(arg1) {}; +}; + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_HTMLHeadElement_newHTMLHeadElement__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new HTMLHeadElementJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_HTMLHeadElement_newHTMLHeadElement__Lorg_trinitydesktop_koala_HTMLHeadElement_2(JNIEnv* env, jobject obj, jobject other) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new HTMLHeadElementJBridge((const DOM::HTMLHeadElement&)*(const DOM::HTMLHeadElement*) QtSupport::getQt(env, other))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_HTMLHeadElement_newHTMLHeadElement__Lorg_trinitydesktop_koala_Node_2(JNIEnv* env, jobject obj, jobject other) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new HTMLHeadElementJBridge((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_HTMLHeadElement_profile(JNIEnv* env, jobject obj) +{ + DOM::DOMString _qstring; + _qstring = ((DOM::HTMLHeadElement*) QtSupport::getQt(env, obj))->profile(); + return KDESupport::fromDOMString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_HTMLHeadElement_setProfile(JNIEnv* env, jobject obj, jstring arg1) +{ +static DOM::DOMString* _domstring_arg1 = 0; + ((DOM::HTMLHeadElement*) QtSupport::getQt(env, obj))->setProfile((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); + return; +} + |