summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/kdejava/HTMLButtonElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/kdejava/HTMLButtonElement.cpp')
-rw-r--r--kdejava/koala/kdejava/HTMLButtonElement.cpp152
1 files changed, 152 insertions, 0 deletions
diff --git a/kdejava/koala/kdejava/HTMLButtonElement.cpp b/kdejava/koala/kdejava/HTMLButtonElement.cpp
new file mode 100644
index 00000000..d77d977a
--- /dev/null
+++ b/kdejava/koala/kdejava/HTMLButtonElement.cpp
@@ -0,0 +1,152 @@
+//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 <kdejava/KDESupport.h>
+#include <kdejava/HTMLButtonElement.h>
+
+class HTMLButtonElementJBridge : public DOM::HTMLButtonElement
+{
+public:
+ HTMLButtonElementJBridge() : DOM::HTMLButtonElement() {};
+ HTMLButtonElementJBridge(const DOM::HTMLButtonElement& arg1) : DOM::HTMLButtonElement(arg1) {};
+ HTMLButtonElementJBridge(const DOM::Node& arg1) : DOM::HTMLButtonElement(arg1) {};
+};
+
+JNIEXPORT jstring JNICALL
+Java_org_kde_koala_HTMLButtonElement_accessKey(JNIEnv* env, jobject obj)
+{
+ DOM::DOMString _qstring;
+ _qstring = ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->accessKey();
+ return KDESupport::fromDOMString(env, &_qstring);
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_koala_HTMLButtonElement_blur(JNIEnv* env, jobject obj)
+{
+ ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->blur();
+ return;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_kde_koala_HTMLButtonElement_disabled(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->disabled();
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_koala_HTMLButtonElement_focus(JNIEnv* env, jobject obj)
+{
+ ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->focus();
+ return;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_kde_koala_HTMLButtonElement_formElement(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLFormElement(((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->form()), "org.kde.koala.HTMLFormElement", TRUE);
+ return xret;
+}
+
+JNIEXPORT jstring JNICALL
+Java_org_kde_koala_HTMLButtonElement_name(JNIEnv* env, jobject obj)
+{
+ DOM::DOMString _qstring;
+ _qstring = ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->name();
+ return KDESupport::fromDOMString(env, &_qstring);
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_koala_HTMLButtonElement_newHTMLButtonElement__(JNIEnv* env, jobject obj)
+{
+ if (QtSupport::getQt(env, obj) == 0) {
+ QtSupport::setQt(env, obj, new HTMLButtonElementJBridge());
+ QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
+ }
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_koala_HTMLButtonElement_newHTMLButtonElement__Lorg_kde_koala_HTMLButtonElement_2(JNIEnv* env, jobject obj, jobject other)
+{
+ if (QtSupport::getQt(env, obj) == 0) {
+ QtSupport::setQt(env, obj, new HTMLButtonElementJBridge((const DOM::HTMLButtonElement&)*(const DOM::HTMLButtonElement*) QtSupport::getQt(env, other)));
+ QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
+ }
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_koala_HTMLButtonElement_newHTMLButtonElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other)
+{
+ if (QtSupport::getQt(env, obj) == 0) {
+ QtSupport::setQt(env, obj, new HTMLButtonElementJBridge((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_HTMLButtonElement_setAccessKey(JNIEnv* env, jobject obj, jstring arg1)
+{
+static DOM::DOMString* _domstring_arg1 = 0;
+ ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->setAccessKey((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_koala_HTMLButtonElement_setDisabled(JNIEnv* env, jobject obj, jboolean arg1)
+{
+ ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->setDisabled((bool) arg1);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_koala_HTMLButtonElement_setName(JNIEnv* env, jobject obj, jstring arg1)
+{
+static DOM::DOMString* _domstring_arg1 = 0;
+ ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->setName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_koala_HTMLButtonElement_setTabIndex(JNIEnv* env, jobject obj, jlong arg1)
+{
+ ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->setTabIndex((long) arg1);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_koala_HTMLButtonElement_setValue(JNIEnv* env, jobject obj, jstring arg1)
+{
+static DOM::DOMString* _domstring_arg1 = 0;
+ ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->setValue((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1));
+ return;
+}
+
+JNIEXPORT jlong JNICALL
+Java_org_kde_koala_HTMLButtonElement_tabIndex(JNIEnv* env, jobject obj)
+{
+ jlong xret = (jlong) ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->tabIndex();
+ return xret;
+}
+
+JNIEXPORT jstring JNICALL
+Java_org_kde_koala_HTMLButtonElement_type(JNIEnv* env, jobject obj)
+{
+ DOM::DOMString _qstring;
+ _qstring = ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->type();
+ return KDESupport::fromDOMString(env, &_qstring);
+}
+
+JNIEXPORT jstring JNICALL
+Java_org_kde_koala_HTMLButtonElement_value(JNIEnv* env, jobject obj)
+{
+ DOM::DOMString _qstring;
+ _qstring = ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->value();
+ return KDESupport::fromDOMString(env, &_qstring);
+}
+