diff options
Diffstat (limited to 'kdejava/koala/kdejava/HTMLInputElement.cpp')
-rw-r--r-- | kdejava/koala/kdejava/HTMLInputElement.cpp | 340 |
1 files changed, 340 insertions, 0 deletions
diff --git a/kdejava/koala/kdejava/HTMLInputElement.cpp b/kdejava/koala/kdejava/HTMLInputElement.cpp new file mode 100644 index 00000000..495c2ed0 --- /dev/null +++ b/kdejava/koala/kdejava/HTMLInputElement.cpp @@ -0,0 +1,340 @@ +//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/HTMLInputElement.h> + +class HTMLInputElementJBridge : public DOM::HTMLInputElement +{ +public: + HTMLInputElementJBridge() : DOM::HTMLInputElement() {}; + HTMLInputElementJBridge(const DOM::HTMLInputElement& arg1) : DOM::HTMLInputElement(arg1) {}; + HTMLInputElementJBridge(const DOM::Node& arg1) : DOM::HTMLInputElement(arg1) {}; +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_HTMLInputElement_accept(JNIEnv* env, jobject obj) +{ + DOM::DOMString _qstring; + _qstring = ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->accept(); + return KDESupport::fromDOMString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_HTMLInputElement_accessKey(JNIEnv* env, jobject obj) +{ + DOM::DOMString _qstring; + _qstring = ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->accessKey(); + return KDESupport::fromDOMString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_HTMLInputElement_align(JNIEnv* env, jobject obj) +{ + DOM::DOMString _qstring; + _qstring = ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->align(); + return KDESupport::fromDOMString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_HTMLInputElement_alt(JNIEnv* env, jobject obj) +{ + DOM::DOMString _qstring; + _qstring = ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->alt(); + return KDESupport::fromDOMString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_HTMLInputElement_blur(JNIEnv* env, jobject obj) +{ + ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->blur(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_HTMLInputElement_checked(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->checked(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_HTMLInputElement_click(JNIEnv* env, jobject obj) +{ + ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->click(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_HTMLInputElement_defaultChecked(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->defaultChecked(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_HTMLInputElement_defaultValue(JNIEnv* env, jobject obj) +{ + DOM::DOMString _qstring; + _qstring = ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->defaultValue(); + return KDESupport::fromDOMString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_HTMLInputElement_disabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->disabled(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_HTMLInputElement_focus(JNIEnv* env, jobject obj) +{ + ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->focus(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_HTMLInputElement_formElement(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLFormElement(((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->form()), "org.kde.koala.HTMLFormElement", TRUE); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_koala_HTMLInputElement_getSize(JNIEnv* env, jobject obj) +{ + jlong xret = (jlong) ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->getSize(); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_koala_HTMLInputElement_maxLength(JNIEnv* env, jobject obj) +{ + jlong xret = (jlong) ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->maxLength(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_HTMLInputElement_name(JNIEnv* env, jobject obj) +{ + DOM::DOMString _qstring; + _qstring = ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->name(); + return KDESupport::fromDOMString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_HTMLInputElement_newHTMLInputElement__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new HTMLInputElementJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_HTMLInputElement_newHTMLInputElement__Lorg_kde_koala_HTMLInputElement_2(JNIEnv* env, jobject obj, jobject other) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new HTMLInputElementJBridge((const DOM::HTMLInputElement&)*(const DOM::HTMLInputElement*) QtSupport::getQt(env, other))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_HTMLInputElement_newHTMLInputElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new HTMLInputElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_HTMLInputElement_readOnly(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->readOnly(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_HTMLInputElement_select(JNIEnv* env, jobject obj) +{ + ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->select(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_HTMLInputElement_setAccept(JNIEnv* env, jobject obj, jstring arg1) +{ +static DOM::DOMString* _domstring_arg1 = 0; + ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setAccept((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_HTMLInputElement_setAccessKey(JNIEnv* env, jobject obj, jstring arg1) +{ +static DOM::DOMString* _domstring_arg1 = 0; + ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setAccessKey((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_HTMLInputElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) +{ +static DOM::DOMString* _domstring_arg1 = 0; + ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_HTMLInputElement_setAlt(JNIEnv* env, jobject obj, jstring arg1) +{ +static DOM::DOMString* _domstring_arg1 = 0; + ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setAlt((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_HTMLInputElement_setChecked(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setChecked((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_HTMLInputElement_setDefaultChecked(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setDefaultChecked((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_HTMLInputElement_setDefaultValue(JNIEnv* env, jobject obj, jstring arg1) +{ +static DOM::DOMString* _domstring_arg1 = 0; + ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setDefaultValue((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_HTMLInputElement_setDisabled(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setDisabled((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_HTMLInputElement_setMaxLength(JNIEnv* env, jobject obj, jlong arg1) +{ + ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setMaxLength((long) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_HTMLInputElement_setName(JNIEnv* env, jobject obj, jstring arg1) +{ +static DOM::DOMString* _domstring_arg1 = 0; + ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_HTMLInputElement_setReadOnly(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setReadOnly((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_HTMLInputElement_setSize(JNIEnv* env, jobject obj, jlong arg1) +{ + ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setSize((long) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_HTMLInputElement_setSrc(JNIEnv* env, jobject obj, jstring arg1) +{ +static DOM::DOMString* _domstring_arg1 = 0; + ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setSrc((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_HTMLInputElement_setTabIndex(JNIEnv* env, jobject obj, jlong arg1) +{ + ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setTabIndex((long) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_HTMLInputElement_setType(JNIEnv* env, jobject obj, jstring arg1) +{ +static DOM::DOMString* _domstring_arg1 = 0; + ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setType((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_HTMLInputElement_setUseMap(JNIEnv* env, jobject obj, jstring arg1) +{ +static DOM::DOMString* _domstring_arg1 = 0; + ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setUseMap((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_HTMLInputElement_setValue(JNIEnv* env, jobject obj, jstring arg1) +{ +static DOM::DOMString* _domstring_arg1 = 0; + ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setValue((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_HTMLInputElement_src(JNIEnv* env, jobject obj) +{ + DOM::DOMString _qstring; + _qstring = ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->src(); + return KDESupport::fromDOMString(env, &_qstring); +} + +JNIEXPORT jlong JNICALL +Java_org_kde_koala_HTMLInputElement_tabIndex(JNIEnv* env, jobject obj) +{ + jlong xret = (jlong) ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->tabIndex(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_HTMLInputElement_type(JNIEnv* env, jobject obj) +{ + DOM::DOMString _qstring; + _qstring = ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->type(); + return KDESupport::fromDOMString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_HTMLInputElement_useMap(JNIEnv* env, jobject obj) +{ + DOM::DOMString _qstring; + _qstring = ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->useMap(); + return KDESupport::fromDOMString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_HTMLInputElement_value(JNIEnv* env, jobject obj) +{ + DOM::DOMString _qstring; + _qstring = ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->value(); + return KDESupport::fromDOMString(env, &_qstring); +} + |