//Auto-generated by kalyptus. DO NOT EDIT.
#include <tdeglobalsettings.h>
#include <kcompletion.h>
#include <tqstring.h>
#include <tqstringlist.h>
#include <tdeshortcut.h>

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDECompletionBase_compObj(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECompletionBase*) QtSupport::getQt(env, obj))->compObj(), "org.trinitydesktop.koala.TDECompletion");
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDECompletionBase_completionMode(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TDECompletionBase*) QtSupport::getQt(env, obj))->completionMode();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDECompletionBase_completionObject__(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECompletionBase*) QtSupport::getQt(env, obj))->completionObject(), "org.trinitydesktop.koala.TDECompletion");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDECompletionBase_completionObject__Z(JNIEnv* env, jobject obj, jboolean hsig)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECompletionBase*) QtSupport::getQt(env, obj))->completionObject((bool) hsig), "org.trinitydesktop.koala.TDECompletion");
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDECompletionBase_emitSignals(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TDECompletionBase*) QtSupport::getQt(env, obj))->emitSignals();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDECompletionBase_getKeyBinding(JNIEnv* env, jobject obj, jint item)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDECompletionBase*) QtSupport::getQt(env, obj))->getKeyBinding((TDECompletionBase::KeyBindingType) item), "org.trinitydesktop.koala.TDEShortcut");
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDECompletionBase_handleSignals(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TDECompletionBase*) QtSupport::getQt(env, obj))->handleSignals();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDECompletionBase_isCompletionObjectAutoDeleted(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TDECompletionBase*) QtSupport::getQt(env, obj))->isCompletionObjectAutoDeleted();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDECompletionBase_setAutoDeleteCompletionObject(JNIEnv* env, jobject obj, jboolean autoDelete)
{
	((TDECompletionBase*) QtSupport::getQt(env, obj))->setAutoDeleteCompletionObject((bool) autoDelete);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDECompletionBase_setCompletedItems(JNIEnv* env, jobject obj, jobjectArray items)
{
static TQStringList* _qlist_items = 0;
	((TDECompletionBase*) QtSupport::getQt(env, obj))->setCompletedItems((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDECompletionBase_setCompletedText(JNIEnv* env, jobject obj, jstring text)
{
static TQString* _qstring_text = 0;
	((TDECompletionBase*) QtSupport::getQt(env, obj))->setCompletedText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDECompletionBase_setCompletionMode(JNIEnv* env, jobject obj, jint mode)
{
	((TDECompletionBase*) QtSupport::getQt(env, obj))->setCompletionMode((TDEGlobalSettings::Completion) mode);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDECompletionBase_setCompletionObject__Lorg_trinitydesktop_koala_TDECompletion_2(JNIEnv* env, jobject obj, jobject compObj)
{
	((TDECompletionBase*) QtSupport::getQt(env, obj))->setCompletionObject((TDECompletion*) QtSupport::getQt(env, compObj));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDECompletionBase_setCompletionObject__Lorg_trinitydesktop_koala_TDECompletion_2Z(JNIEnv* env, jobject obj, jobject compObj, jboolean hsig)
{
	((TDECompletionBase*) QtSupport::getQt(env, obj))->setCompletionObject((TDECompletion*) QtSupport::getQt(env, compObj), (bool) hsig);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDECompletionBase_setEnableSignals(JNIEnv* env, jobject obj, jboolean enable)
{
	((TDECompletionBase*) QtSupport::getQt(env, obj))->setEnableSignals((bool) enable);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDECompletionBase_setHandleSignals(JNIEnv* env, jobject obj, jboolean handle)
{
	((TDECompletionBase*) QtSupport::getQt(env, obj))->setHandleSignals((bool) handle);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDECompletionBase_setKeyBinding(JNIEnv* env, jobject obj, jint item, jobject key)
{
	jboolean xret = (jboolean) ((TDECompletionBase*) QtSupport::getQt(env, obj))->setKeyBinding((TDECompletionBase::KeyBindingType) item, (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, key));
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDECompletionBase_useGlobalKeyBindings(JNIEnv* env, jobject obj)
{
	((TDECompletionBase*) QtSupport::getQt(env, obj))->useGlobalKeyBindings();
	return;
}

