//Auto-generated by kalyptus. DO NOT EDIT.
#include <tdeconfigdata.h>
#include <tqstring.h>
#include <tdeconfigbase.h>
#include <tqcstring.h>

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

class TDEConfigGroupJBridge : public TDEConfigGroup
{
public:
	TDEConfigGroupJBridge(TDEConfigBase* arg1,const TQCString& arg2) : TDEConfigGroup(arg1,arg2) {};
	void public_sync() {
		TDEConfigGroup::sync();
		return;
	}
	~TDEConfigGroupJBridge() {QtSupport::qtKeyDeleted(this);}
	void removeChild(TQObject* arg1) {
		if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) {
			TQObject::removeChild(arg1);
		}
		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 sync() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.TDEConfigGroup","sync")) {
			TDEConfigGroup::sync();
		}
		return;
	}
	void insertChild(TQObject* arg1) {
		if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) {
			TQObject::insertChild(arg1);
		}
		return;
	}
	void parseConfigFiles() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.TDEConfigGroup","parseConfigFiles")) {
			TDEConfigBase::parseConfigFiles();
		}
		return;
	}
	bool eventFilter(TQObject* object,TQEvent* event) {
		if (!QtSupport::eventFilterDelegate(this,"org.trinitydesktop.koala.TDEConfigGroup",object,event)) {
			return TQObject::eventFilter(object,event);
		} else {
			return true;
		}
	}
};

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEConfigGroup_deleteGroup__(JNIEnv* env, jobject obj)
{
	((TDEConfigGroup*) QtSupport::getQt(env, obj))->deleteGroup();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEConfigGroup_deleteGroup__Z(JNIEnv* env, jobject obj, jboolean bGlobal)
{
	((TDEConfigGroup*) QtSupport::getQt(env, obj))->deleteGroup((bool) bGlobal);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEConfigGroup_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_koala_TDEConfigGroup_finalize(env, obj);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEConfigGroup_finalize(JNIEnv* env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEConfigGroup*)QtSupport::getQt(env, obj))->parent() == 0) {
		delete (TDEConfigGroup*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDEConfigGroup_groupIsImmutable(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TDEConfigGroup*) QtSupport::getQt(env, obj))->groupIsImmutable();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDEConfigGroup_isDisposed(JNIEnv* env, jobject obj)
{
	return (QtSupport::getQt(env, obj) == 0);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDEConfigGroup_lookupData(JNIEnv* env, jobject obj, jobject _key)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KEntry(((TDEConfigGroup*) QtSupport::getQt(env, obj))->lookupData((const KEntryKey&)*(const KEntryKey*) QtSupport::getQt(env, _key))), "org.trinitydesktop.koala.KEntry", true);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEConfigGroup_newTDEConfigGroup(JNIEnv* env, jobject obj, jobject master, jstring group)
{
static TQCString* _qcstring_group = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TDEConfigGroupJBridge((TDEConfigBase*) QtSupport::getQt(env, master), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, group, &_qcstring_group)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEConfigGroup_putData__Lorg_trinitydesktop_koala_KEntryKey_2Lorg_trinitydesktop_koala_KEntry_2(JNIEnv* env, jobject obj, jobject _key, jobject _data)
{
	((TDEConfigGroup*) QtSupport::getQt(env, obj))->putData((const KEntryKey&)*(const KEntryKey*) QtSupport::getQt(env, _key), (const KEntry&)*(const KEntry*) QtSupport::getQt(env, _data));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEConfigGroup_putData__Lorg_trinitydesktop_koala_KEntryKey_2Lorg_trinitydesktop_koala_KEntry_2Z(JNIEnv* env, jobject obj, jobject _key, jobject _data, jboolean _checkGroup)
{
	((TDEConfigGroup*) QtSupport::getQt(env, obj))->putData((const KEntryKey&)*(const KEntryKey*) QtSupport::getQt(env, _key), (const KEntry&)*(const KEntry*) QtSupport::getQt(env, _data), (bool) _checkGroup);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEConfigGroup_setDirty(JNIEnv* env, jobject obj, jboolean b)
{
	((TDEConfigGroup*) QtSupport::getQt(env, obj))->setDirty((bool) b);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEConfigGroup_sync(JNIEnv* env, jobject obj)
{
	((TDEConfigGroupJBridge*) QtSupport::getQt(env, obj))->public_sync();
	return;
}

