//Auto-generated by kalyptus. DO NOT EDIT.
#include <tdeio/sessiondata.h>
#include <tdeio/global.h>
#include <tqstring.h>
#include <tqcstring.h>

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

class SessionDataJBridge : public TDEIO::SessionData
{
public:
	SessionDataJBridge() : TDEIO::SessionData() {};
	void public_reset() {
		TDEIO::SessionData::reset();
		return;
	}
	void removeChild(TQObject* arg1) {
		if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) {
			TQObject::removeChild(arg1);
		}
		return;
	}
	void reset() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.SessionData","reset")) {
			SessionData::reset();
		}
		return;
	}
	void customEvent(TQCustomEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.trinitydesktop.qt.TQCustomEvent")) {
			TQObject::customEvent(arg1);
		}
		return;
	}
	void timerEvent(TQTimerEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.trinitydesktop.qt.TQTimerEvent")) {
			TQObject::timerEvent(arg1);
		}
		return;
	}
	void childEvent(TQChildEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.trinitydesktop.qt.TQChildEvent")) {
			TQObject::childEvent(arg1);
		}
		return;
	}
	void insertChild(TQObject* arg1) {
		if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) {
			TQObject::insertChild(arg1);
		}
		return;
	}
	bool eventFilter(TQObject* object,TQEvent* event) {
		if (!QtSupport::eventFilterDelegate(this,"org.trinitydesktop.koala.SessionData",object,event)) {
			return TQObject::eventFilter(object,event);
		} else {
			return TRUE;
		}
	}
};

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_SessionData_metaObject(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::SessionData*) QtSupport::getQt(env, obj))->metaObject(), "org.trinitydesktop.qt.TQMetaObject");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_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_trinitydesktop_koala_SessionData_reset(JNIEnv* env, jobject obj)
{
	((SessionDataJBridge*) QtSupport::getQt(env, obj))->public_reset();
	return;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SessionData_slotDelAuthData(JNIEnv* env, jobject obj, jstring arg1)
{
static TQCString* _qcstring_arg1 = 0;
	((TDEIO::SessionData*) QtSupport::getQt(env, obj))->slotDelAuthData((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, arg1, &_qcstring_arg1));
	return;
}

