//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqstring.h>
#include <tqvariant.h>
#include <tdeshortcutlist.h>
#include <tdeshortcut.h>

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

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEShortcutList_count(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TDEShortcutList*) QtSupport::getQt(env, obj))->count();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDEShortcutList_getOther(JNIEnv* env, jobject obj, jint arg1, jint index)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TDEShortcutList*) QtSupport::getQt(env, obj))->getOther((TDEShortcutList::Other) arg1, (uint) index)), "org.trinitydesktop.qt.TQVariant", true);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEShortcutList_index__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sName)
{
static TQString* _qstring_sName = 0;
	jint xret = (jint) ((TDEShortcutList*) QtSupport::getQt(env, obj))->index((const TQString&)*(TQString*) QtSupport::toTQString(env, sName, &_qstring_sName));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEShortcutList_index__Lorg_trinitydesktop_koala_KKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq)
{
	jint xret = (jint) ((TDEShortcutList*) QtSupport::getQt(env, obj))->index((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq));
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDEShortcutList_instance(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEShortcutList*) QtSupport::getQt(env, obj))->instance(), "org.trinitydesktop.koala.TDEInstanceInterface");
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDEShortcutList_isConfigurable(JNIEnv* env, jobject obj, jint index)
{
	jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->isConfigurable((uint) index);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDEShortcutList_isGlobal(JNIEnv* env, jobject obj, jint index)
{
	jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->isGlobal((uint) index);
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDEShortcutList_label(JNIEnv* env, jobject obj, jint index)
{
	TQString  _qstring;
	_qstring = ((TDEShortcutList*) QtSupport::getQt(env, obj))->label((uint) index);
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDEShortcutList_name(JNIEnv* env, jobject obj, jint index)
{
	TQString  _qstring;
	_qstring = ((TDEShortcutList*) QtSupport::getQt(env, obj))->name((uint) index);
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDEShortcutList_readSettings__(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->readSettings();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDEShortcutList_readSettings__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sConfigGroup)
{
static TQString* _qstring_sConfigGroup = 0;
	jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->readSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDEShortcutList_readSettings__Ljava_lang_String_2Lorg_trinitydesktop_koala_TDEConfigBase_2(JNIEnv* env, jobject obj, jstring sConfigGroup, jobject pConfig)
{
static TQString* _qstring_sConfigGroup = 0;
	jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->readSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup), (TDEConfigBase*) QtSupport::getQt(env, pConfig));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDEShortcutList_save(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->save();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDEShortcutList_setOther(JNIEnv* env, jobject obj, jint arg1, jint index, jobject arg3)
{
	jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->setOther((TDEShortcutList::Other) arg1, (uint) index, (TQVariant)*(TQVariant*) QtSupport::getQt(env, arg3));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDEShortcutList_setShortcut(JNIEnv* env, jobject obj, jint index, jobject shortcut)
{
	jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->setShortcut((uint) index, (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, shortcut));
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDEShortcutList_shortcutDefault(JNIEnv* env, jobject obj, jint index)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEShortcutList*) QtSupport::getQt(env, obj))->shortcutDefault((uint) index), "org.trinitydesktop.koala.TDEShortcut");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDEShortcutList_shortcut(JNIEnv* env, jobject obj, jint index)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEShortcutList*) QtSupport::getQt(env, obj))->shortcut((uint) index), "org.trinitydesktop.koala.TDEShortcut");
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDEShortcutList_whatsThis(JNIEnv* env, jobject obj, jint index)
{
	TQString  _qstring;
	_qstring = ((TDEShortcutList*) QtSupport::getQt(env, obj))->whatsThis((uint) index);
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDEShortcutList_writeSettings__(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->writeSettings();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDEShortcutList_writeSettings__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sConfigGroup)
{
static TQString* _qstring_sConfigGroup = 0;
	jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->writeSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDEShortcutList_writeSettings__Ljava_lang_String_2Lorg_trinitydesktop_koala_TDEConfigBase_2(JNIEnv* env, jobject obj, jstring sConfigGroup, jobject pConfig)
{
static TQString* _qstring_sConfigGroup = 0;
	jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->writeSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup), (TDEConfigBase*) QtSupport::getQt(env, pConfig));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDEShortcutList_writeSettings__Ljava_lang_String_2Lorg_trinitydesktop_koala_TDEConfigBase_2Z(JNIEnv* env, jobject obj, jstring sConfigGroup, jobject pConfig, jboolean bWriteAll)
{
static TQString* _qstring_sConfigGroup = 0;
	jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->writeSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup), (TDEConfigBase*) QtSupport::getQt(env, pConfig), (bool) bWriteAll);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDEShortcutList_writeSettings__Ljava_lang_String_2Lorg_trinitydesktop_koala_TDEConfigBase_2ZZ(JNIEnv* env, jobject obj, jstring sConfigGroup, jobject pConfig, jboolean bWriteAll, jboolean bGlobal)
{
static TQString* _qstring_sConfigGroup = 0;
	jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->writeSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup), (TDEConfigBase*) QtSupport::getQt(env, pConfig), (bool) bWriteAll, (bool) bGlobal);
	return xret;
}

