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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEConfigBackEnd_changeFileName(JNIEnv* env, jobject obj, jstring _fileName, jstring _resType, jboolean _useKDEGlobals)
{
static TQString* _qstring__fileName = 0;
static TQCString* _qstring__resType = 0;
	((TDEConfigBackEnd*) QtSupport::getQt(env, obj))->changeFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, _fileName, &_qstring__fileName), (const char*) QtSupport::toCharString(env, _resType, &_qstring__resType), (bool) _useKDEGlobals);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDEConfigBackEnd_checkConfigFilesWritable(JNIEnv* env, jobject obj, jboolean warnUser)
{
	jboolean xret = (jboolean) ((TDEConfigBackEnd*) QtSupport::getQt(env, obj))->checkConfigFilesWritable((bool) warnUser);
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDEConfigBackEnd_fileName(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TDEConfigBackEnd*) QtSupport::getQt(env, obj))->fileName();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEConfigBackEnd_getConfigState(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TDEConfigBackEnd*) QtSupport::getQt(env, obj))->getConfigState();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDEConfigBackEnd_parseConfigFiles(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TDEConfigBackEnd*) QtSupport::getQt(env, obj))->parseConfigFiles();
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDEConfigBackEnd_resource(JNIEnv* env, jobject obj)
{
	const char* _qstring;
	_qstring = ((TDEConfigBackEnd*) QtSupport::getQt(env, obj))->resource();
	return QtSupport::fromCharString(env, (char *) _qstring);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEConfigBackEnd_setFileWriteMode(JNIEnv* env, jobject obj, jint mode)
{
	((TDEConfigBackEnd*) QtSupport::getQt(env, obj))->setFileWriteMode((int) mode);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEConfigBackEnd_setLocaleString(JNIEnv* env, jobject obj, jstring _localeString)
{
static TQCString* _qcstring__localeString = 0;
	((TDEConfigBackEnd*) QtSupport::getQt(env, obj))->setLocaleString((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, _localeString, &_qcstring__localeString));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEConfigBackEnd_sync__(JNIEnv* env, jobject obj)
{
	((TDEConfigBackEnd*) QtSupport::getQt(env, obj))->sync();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEConfigBackEnd_sync__Z(JNIEnv* env, jobject obj, jboolean bMerge)
{
	((TDEConfigBackEnd*) QtSupport::getQt(env, obj))->sync((bool) bMerge);
	return;
}

