summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/kdejava/AuthInfo.cpp
blob: a5f5d078f1a92cf8eb0819293022239d35a56c99 (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
//Auto-generated by kalyptus. DO NOT EDIT.
#include <tdeio/authinfo.h>

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

class AuthInfoJBridge : public TDEIO::AuthInfo
{
public:
	AuthInfoJBridge() : TDEIO::AuthInfo() {};
	AuthInfoJBridge(const TDEIO::AuthInfo& arg1) : TDEIO::AuthInfo(arg1) {};
};

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_AuthInfo_isModified(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TDEIO::AuthInfo*) QtSupport::getQt(env, obj))->isModified();
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_kde_koala_AuthInfo_newAuthInfo__Lorg_kde_koala_AuthInfo_2(JNIEnv* env, jobject obj, jobject info)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new AuthInfoJBridge((const TDEIO::AuthInfo&)*(const TDEIO::AuthInfo*) QtSupport::getQt(env, info)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_AuthInfo_setModified(JNIEnv* env, jobject obj, jboolean flag)
{
	((TDEIO::AuthInfo*) QtSupport::getQt(env, obj))->setModified((bool) flag);
	return;
}