//Auto-generated by kalyptus. DO NOT EDIT.
#include <kio/sessiondata.h>
#include <kio/global.h>
#include <qstring.h>
#include <qcstring.h>

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

class SessionDataJBridge : public KIO::SessionData
{
public:
	SessionDataJBridge() : KIO::SessionData() {};
	void public_reset() {
		KIO::SessionData::reset();
		return;
	}
	void removeChild(QObject* arg1) {
		if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.QObject")) {
			QObject::removeChild(arg1);
		}
		return;
	}
	void reset() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.SessionData","reset")) {
			SessionData::reset();
		}
		return;
	}
	void customEvent(QCustomEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.QCustomEvent")) {
			QObject::customEvent(arg1);
		}
		return;
	}
	void timerEvent(QTimerEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.QTimerEvent")) {
			QObject::timerEvent(arg1);
		}
		return;
	}
	void childEvent(QChildEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.QChildEvent")) {
			QObject::childEvent(arg1);
		}
		return;
	}
	void insertChild(QObject* arg1) {
		if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.QObject")) {
			QObject::insertChild(arg1);
		}
		return;
	}
	bool eventFilter(QObject* object,QEvent* event) {
		if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.SessionData",object,event)) {
			return QObject::eventFilter(object,event);
		} else {
			return TRUE;
		}
	}
};

JNIEXPORT jstring JNICALL
Java_org_kde_koala_SessionData_className(JNIEnv* env, jobject obj)
{
	const char* _qstring;
	_qstring = ((KIO::SessionData*) QtSupport::getQt(env, obj))->className();
	return QtSupport::fromCharString(env, (char *) _qstring);
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_SessionData_metaObject(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KIO::SessionData*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.QMetaObject");
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_kde_koala_SessionData_reset(JNIEnv* env, jobject obj)
{
	((SessionDataJBridge*) QtSupport::getQt(env, obj))->public_reset();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_SessionData_slotAuthData(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jboolean arg3)
{
static QCString* _qcstring_arg1 = 0;
static QCString* _qcstring_arg2 = 0;
	((KIO::SessionData*) QtSupport::getQt(env, obj))->slotAuthData((const QCString&)*(QCString*) QtSupport::toQCString(env, arg1, &_qcstring_arg1), (const QCString&)*(QCString*) QtSupport::toQCString(env, arg2, &_qcstring_arg2), (bool) arg3);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_SessionData_slotDelAuthData(JNIEnv* env, jobject obj, jstring arg1)
{
static QCString* _qcstring_arg1 = 0;
	((KIO::SessionData*) QtSupport::getQt(env, obj))->slotDelAuthData((const QCString&)*(QCString*) QtSupport::toQCString(env, arg1, &_qcstring_arg1));
	return;
}

