summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/kdejava/HTMLQuoteElement.cpp
blob: c7c52bb0e2adf0c7a47b02d9a5ca5f09bdd0baab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
//Auto-generated by kalyptus. DO NOT EDIT.
#include <dom/dom_string.h>
#include <dom/dom_node.h>
#include <dom/html_inline.h>

#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/HTMLQuoteElement.h>

class HTMLQuoteElementJBridge : public DOM::HTMLQuoteElement
{
public:
	HTMLQuoteElementJBridge() : DOM::HTMLQuoteElement() {};
	HTMLQuoteElementJBridge(const DOM::HTMLQuoteElement& arg1) : DOM::HTMLQuoteElement(arg1) {};
	HTMLQuoteElementJBridge(const DOM::Node& arg1) : DOM::HTMLQuoteElement(arg1) {};
};

JNIEXPORT jstring JNICALL
Java_org_kde_koala_HTMLQuoteElement_cite(JNIEnv* env, jobject obj)
{
	DOM::DOMString  _qstring;
	_qstring = ((DOM::HTMLQuoteElement*) QtSupport::getQt(env, obj))->cite();
	return KDESupport::fromDOMString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_kde_koala_HTMLQuoteElement_newHTMLQuoteElement__(JNIEnv* env, jobject obj)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new HTMLQuoteElementJBridge());
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_HTMLQuoteElement_newHTMLQuoteElement__Lorg_kde_koala_HTMLQuoteElement_2(JNIEnv* env, jobject obj, jobject other)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new HTMLQuoteElementJBridge((const DOM::HTMLQuoteElement&)*(const DOM::HTMLQuoteElement*) QtSupport::getQt(env, other)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_HTMLQuoteElement_newHTMLQuoteElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new HTMLQuoteElementJBridge((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_HTMLQuoteElement_setCite(JNIEnv* env, jobject obj, jstring arg1)
{
static DOM::DOMString* _domstring_arg1 = 0;
	((DOM::HTMLQuoteElement*) QtSupport::getQt(env, obj))->setCite((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1));
	return;
}