diff options
Diffstat (limited to 'kdejava/koala/kdejava/Comment.cpp')
-rw-r--r-- | kdejava/koala/kdejava/Comment.cpp | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/kdejava/koala/kdejava/Comment.cpp b/kdejava/koala/kdejava/Comment.cpp new file mode 100644 index 00000000..553ef2cb --- /dev/null +++ b/kdejava/koala/kdejava/Comment.cpp @@ -0,0 +1,46 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <dom/dom_text.h> +#include <dom/dom_node.h> + +#include <qtjava/QtSupport.h> +#include <kdejava/KDESupport.h> +#include <kdejava/Comment.h> + +class CommentJBridge : public DOM::Comment +{ +public: + CommentJBridge() : DOM::Comment() {}; + CommentJBridge(const DOM::Comment& arg1) : DOM::Comment(arg1) {}; + CommentJBridge(const DOM::Node& arg1) : DOM::Comment(arg1) {}; +}; + +JNIEXPORT void JNICALL +Java_org_kde_koala_Comment_newComment__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new CommentJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_Comment_newComment__Lorg_kde_koala_Comment_2(JNIEnv* env, jobject obj, jobject other) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new CommentJBridge((const DOM::Comment&)*(const DOM::Comment*) QtSupport::getQt(env, other))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_Comment_newComment__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new CommentJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + |