You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebindings/kdejava/koala/kdejava/HTMLParagraphElement.cpp

64 lines
2.3 KiB

//Auto-generated by kalyptus. DO NOT EDIT.
#include <dom/html_block.h>
#include <dom/dom_string.h>
#include <dom/dom_node.h>
#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/HTMLParagraphElement.h>
class HTMLParagraphElementJBridge : public DOM::HTMLParagraphElement
{
public:
HTMLParagraphElementJBridge() : DOM::HTMLParagraphElement() {};
HTMLParagraphElementJBridge(const DOM::HTMLParagraphElement& arg1) : DOM::HTMLParagraphElement(arg1) {};
HTMLParagraphElementJBridge(const DOM::Node& arg1) : DOM::HTMLParagraphElement(arg1) {};
};
JNIEXPORT jstring JNICALL
Java_org_kde_koala_HTMLParagraphElement_align(JNIEnv* env, jobject obj)
{
DOM::DOMString _qstring;
_qstring = ((DOM::HTMLParagraphElement*) QtSupport::getQt(env, obj))->align();
return KDESupport::fromDOMString(env, &_qstring);
}
JNIEXPORT void JNICALL
Java_org_kde_koala_HTMLParagraphElement_newHTMLParagraphElement__(JNIEnv* env, jobject obj)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new HTMLParagraphElementJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_HTMLParagraphElement_newHTMLParagraphElement__Lorg_kde_koala_HTMLParagraphElement_2(JNIEnv* env, jobject obj, jobject other)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new HTMLParagraphElementJBridge((const DOM::HTMLParagraphElement&)*(const DOM::HTMLParagraphElement*) QtSupport::getQt(env, other)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_HTMLParagraphElement_newHTMLParagraphElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new HTMLParagraphElementJBridge((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_HTMLParagraphElement_setAlign(JNIEnv* env, jobject obj, jstring arg1)
{
static DOM::DOMString* _domstring_arg1 = 0;
((DOM::HTMLParagraphElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1));
return;
}