diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 90825e2392b2d70e43c7a25b8a3752299a933894 (patch) | |
tree | e33aa27f02b74604afbfd0ea4f1cfca8833d882a /kdejava/koala/kdejava/HTMLDirectoryElement.cpp | |
download | tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.tar.gz tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdejava/koala/kdejava/HTMLDirectoryElement.cpp')
-rw-r--r-- | kdejava/koala/kdejava/HTMLDirectoryElement.cpp | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/kdejava/koala/kdejava/HTMLDirectoryElement.cpp b/kdejava/koala/kdejava/HTMLDirectoryElement.cpp new file mode 100644 index 00000000..f5078ecc --- /dev/null +++ b/kdejava/koala/kdejava/HTMLDirectoryElement.cpp @@ -0,0 +1,60 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <dom/dom_node.h> +#include <dom/html_list.h> + +#include <qtjava/QtSupport.h> +#include <kdejava/KDESupport.h> +#include <kdejava/HTMLDirectoryElement.h> + +class HTMLDirectoryElementJBridge : public DOM::HTMLDirectoryElement +{ +public: + HTMLDirectoryElementJBridge() : DOM::HTMLDirectoryElement() {}; + HTMLDirectoryElementJBridge(const DOM::HTMLDirectoryElement& arg1) : DOM::HTMLDirectoryElement(arg1) {}; + HTMLDirectoryElementJBridge(const DOM::Node& arg1) : DOM::HTMLDirectoryElement(arg1) {}; +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_HTMLDirectoryElement_compact(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((DOM::HTMLDirectoryElement*) QtSupport::getQt(env, obj))->compact(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_HTMLDirectoryElement_newHTMLDirectoryElement__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new HTMLDirectoryElementJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_HTMLDirectoryElement_newHTMLDirectoryElement__Lorg_kde_koala_HTMLDirectoryElement_2(JNIEnv* env, jobject obj, jobject other) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new HTMLDirectoryElementJBridge((const DOM::HTMLDirectoryElement&)*(const DOM::HTMLDirectoryElement*) QtSupport::getQt(env, other))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_HTMLDirectoryElement_newHTMLDirectoryElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new HTMLDirectoryElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_HTMLDirectoryElement_setCompact(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((DOM::HTMLDirectoryElement*) QtSupport::getQt(env, obj))->setCompact((bool) arg1); + return; +} + |