//Auto-generated by kalyptus. DO NOT EDIT.
#include <tdeio/authinfo.h>

#include <qtjava/QtSupport.h>
#include <tdejava/TDESupport.h>
#include <tdejava/AuthInfo.h>

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_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_trinitydesktop_koala_AuthInfo_newAuthInfo__Lorg_trinitydesktop_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_trinitydesktop_koala_AuthInfo_setModified(JNIEnv* env, jobject obj, jboolean flag)
{
	((TDEIO::AuthInfo*) QtSupport::getQt(env, obj))->setModified((bool) flag);
	return;
}

