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

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

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

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_AuthInfo_isModified(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KIO::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 KIO::AuthInfo&)*(const KIO::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)
{
	((KIO::AuthInfo*) QtSupport::getQt(env, obj))->setModified((bool) flag);
	return;
}

