diff options
author | Darrell Anderson <[email protected]> | 2014-01-08 20:06:00 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2014-01-08 20:06:00 +0100 |
commit | 636f509299122d02087c6fd62e1e4a46dbd22026 (patch) | |
tree | 70e43efceeb5b00e7f19cdac8da44928bd2fb459 /tdejava/koala/tdejava/HTMLBRElement.cpp | |
parent | 719b61750c08343f530068ed4127623aeac71cf0 (diff) | |
download | tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.tar.gz tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.zip |
Rename many classes to avoid conflicts with KDE
Diffstat (limited to 'tdejava/koala/tdejava/HTMLBRElement.cpp')
-rw-r--r-- | tdejava/koala/tdejava/HTMLBRElement.cpp | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/tdejava/koala/tdejava/HTMLBRElement.cpp b/tdejava/koala/tdejava/HTMLBRElement.cpp new file mode 100644 index 00000000..b75bc57e --- /dev/null +++ b/tdejava/koala/tdejava/HTMLBRElement.cpp @@ -0,0 +1,63 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <dom/dom_string.h> +#include <dom/dom_node.h> +#include <dom/html_inline.h> + +#include <qtjava/QtSupport.h> +#include <tdejava/TDESupport.h> +#include <tdejava/HTMLBRElement.h> + +class HTMLBRElementJBridge : public DOM::HTMLBRElement +{ +public: + HTMLBRElementJBridge() : DOM::HTMLBRElement() {}; + HTMLBRElementJBridge(const DOM::HTMLBRElement& arg1) : DOM::HTMLBRElement(arg1) {}; + HTMLBRElementJBridge(const DOM::Node& arg1) : DOM::HTMLBRElement(arg1) {}; +}; + +JNIEXPORT jstring JNICALL +Java_org_trinitydesktop_koala_HTMLBRElement_clear(JNIEnv* env, jobject obj) +{ + DOM::DOMString _qstring; + _qstring = ((DOM::HTMLBRElement*) QtSupport::getQt(env, obj))->clear(); + return KDESupport::fromDOMString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_HTMLBRElement_newHTMLBRElement__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new HTMLBRElementJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_HTMLBRElement_newHTMLBRElement__Lorg_trinitydesktop_koala_HTMLBRElement_2(JNIEnv* env, jobject obj, jobject other) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new HTMLBRElementJBridge((const DOM::HTMLBRElement&)*(const DOM::HTMLBRElement*) QtSupport::getQt(env, other))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_HTMLBRElement_newHTMLBRElement__Lorg_trinitydesktop_koala_Node_2(JNIEnv* env, jobject obj, jobject other) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new HTMLBRElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_HTMLBRElement_setClear(JNIEnv* env, jobject obj, jstring arg1) +{ +static DOM::DOMString* _domstring_arg1 = 0; + ((DOM::HTMLBRElement*) QtSupport::getQt(env, obj))->setClear((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); + return; +} + |