//Auto-generated by kalyptus. DO NOT EDIT.
#include <ksconfig.h>
#include <kspell.h>
#include <qstring.h>
#include <qstringlist.h>

#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/KSpell.h>

class KSpellJBridge : public KSpell
{
public:
	KSpellJBridge(QWidget* arg1,const QString& arg2,QObject* arg3,const char* arg4,KSpellConfig* arg5,bool arg6,bool arg7) : KSpell(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {};
	KSpellJBridge(QWidget* arg1,const QString& arg2,QObject* arg3,const char* arg4,KSpellConfig* arg5,bool arg6) : KSpell(arg1,arg2,arg3,arg4,arg5,arg6) {};
	KSpellJBridge(QWidget* arg1,const QString& arg2,QObject* arg3,const char* arg4,KSpellConfig* arg5) : KSpell(arg1,arg2,arg3,arg4,arg5) {};
	KSpellJBridge(QWidget* arg1,const QString& arg2,QObject* arg3,const char* arg4) : KSpell(arg1,arg2,arg3,arg4) {};
	KSpellJBridge(QWidget* arg1,const QString& arg2,QObject* arg3,const char* arg4,KSpellConfig* arg5,bool arg6,bool arg7,KSpell::SpellerType arg8) : KSpell(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {};
	void public_cleanUp() {
		KSpell::cleanUp();
		return;
	}
	int protected_parseOneResponse(const QString& arg1,QString& arg2,QStringList& arg3) {
		return (int) KSpell::parseOneResponse(arg1,arg2,arg3);
	}
	QString protected_funnyWord(const QString& arg1) {
		return (QString) KSpell::funnyWord(arg1);
	}
	void protected_dialog(const QString& arg1,QStringList& arg2,const char* arg3) {
		KSpell::dialog(arg1,arg2,arg3);
		return;
	}
	QString protected_replacement() {
		return (QString) KSpell::replacement();
	}
	void protected_setUpDialog(bool arg1) {
		KSpell::setUpDialog(arg1);
		return;
	}
	void protected_setUpDialog() {
		KSpell::setUpDialog();
		return;
	}
	void protected_emitProgress() {
		KSpell::emitProgress();
		return;
	}
	bool protected_cleanFputs(const QString& arg1,bool arg2) {
		return (bool) KSpell::cleanFputs(arg1,arg2);
	}
	bool protected_cleanFputs(const QString& arg1) {
		return (bool) KSpell::cleanFputs(arg1);
	}
	bool protected_cleanFputsWord(const QString& arg1,bool arg2) {
		return (bool) KSpell::cleanFputsWord(arg1,arg2);
	}
	bool protected_cleanFputsWord(const QString& arg1) {
		return (bool) KSpell::cleanFputsWord(arg1);
	}
	void protected_startIspell() {
		KSpell::startIspell();
		return;
	}
	bool protected_writePersonalDictionary() {
		return (bool) KSpell::writePersonalDictionary();
	}
	void protected_initialize(QWidget* arg1,const QString& arg2,QObject* arg3,const char* arg4,KSpellConfig* arg5,bool arg6,bool arg7,KSpell::SpellerType arg8) {
		KSpell::initialize(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
		return;
	}
	void protected_KSpell2(KProcIO* arg1) {
		KSpell::KSpell2(arg1);
		return;
	}
	void protected_checkWord2(KProcIO* arg1) {
		KSpell::checkWord2(arg1);
		return;
	}
	void protected_checkWord3() {
		KSpell::checkWord3();
		return;
	}
	void protected_check2(KProcIO* arg1) {
		KSpell::check2(arg1);
		return;
	}
	void protected_checkList2() {
		KSpell::checkList2();
		return;
	}
	void protected_checkList3a(KProcIO* arg1) {
		KSpell::checkList3a(arg1);
		return;
	}
	void protected_checkListReplaceCurrent() {
		KSpell::checkListReplaceCurrent();
		return;
	}
	void protected_checkList4() {
		KSpell::checkList4();
		return;
	}
	void protected_dialog2(int arg1) {
		KSpell::dialog2(arg1);
		return;
	}
	void protected_check3() {
		KSpell::check3();
		return;
	}
	void protected_suggestWord(KProcIO* arg1) {
		KSpell::suggestWord(arg1);
		return;
	}
	void protected_slotStopCancel(int arg1) {
		KSpell::slotStopCancel(arg1);
		return;
	}
	void protected_ispellExit(KProcess* arg1) {
		KSpell::ispellExit(arg1);
		return;
	}
	void protected_emitDeath() {
		KSpell::emitDeath();
		return;
	}
	void protected_ispellErrors(KProcess* arg1,char* arg2,int arg3) {
		KSpell::ispellErrors(arg1,arg2,arg3);
		return;
	}
	void protected_checkNext() {
		KSpell::checkNext();
		return;
	}
	~KSpellJBridge() {QtSupport::qtKeyDeleted(this);}
	void removeChild(QObject* arg1) {
		if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.QObject")) {
			QObject::removeChild(arg1);
		}
		return;
	}
	void customEvent(QCustomEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.QCustomEvent")) {
			QObject::customEvent(arg1);
		}
		return;
	}
	void timerEvent(QTimerEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.QTimerEvent")) {
			QObject::timerEvent(arg1);
		}
		return;
	}
	void childEvent(QChildEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.QChildEvent")) {
			QObject::childEvent(arg1);
		}
		return;
	}
	void cleanUp() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpell","cleanUp")) {
			KSpell::cleanUp();
		}
		return;
	}
	void insertChild(QObject* arg1) {
		if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.QObject")) {
			QObject::insertChild(arg1);
		}
		return;
	}
	bool eventFilter(QObject* object,QEvent* event) {
		if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KSpell",object,event)) {
			return QObject::eventFilter(object,event);
		} else {
			return TRUE;
		}
	}
};

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_KSpell2(JNIEnv* env, jobject obj, jobject arg1)
{
	((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_KSpell2((KProcIO*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KSpell_addPersonal(JNIEnv* env, jobject obj, jstring word)
{
static QString* _qstring_word = 0;
	jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->addPersonal((const QString&)*(QString*) QtSupport::toQString(env, word, &_qstring_word));
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_check2(JNIEnv* env, jobject obj, jobject arg1)
{
	((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_check2((KProcIO*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_check3(JNIEnv* env, jobject obj)
{
	((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_check3();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_checkList2(JNIEnv* env, jobject obj)
{
	((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_checkList2();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_checkList3a(JNIEnv* env, jobject obj, jobject arg1)
{
	((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_checkList3a((KProcIO*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_checkList4(JNIEnv* env, jobject obj)
{
	((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_checkList4();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_checkListReplaceCurrent(JNIEnv* env, jobject obj)
{
	((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_checkListReplaceCurrent();
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KSpell_checkList___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray _wordlist)
{
static QStringList* _qlist__wordlist = 0;
	jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->checkList((QStringList*) QtSupport::toQStringList(env, _wordlist, &_qlist__wordlist));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KSpell_checkList___3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobjectArray _wordlist, jboolean usedialog)
{
static QStringList* _qlist__wordlist = 0;
	jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->checkList((QStringList*) QtSupport::toQStringList(env, _wordlist, &_qlist__wordlist), (bool) usedialog);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_checkNext(JNIEnv* env, jobject obj)
{
	((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_checkNext();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_checkWord2(JNIEnv* env, jobject obj, jobject arg1)
{
	((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_checkWord2((KProcIO*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_checkWord3(JNIEnv* env, jobject obj)
{
	((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_checkWord3();
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KSpell_checkWord__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _buffer)
{
static QString* _qstring__buffer = 0;
	jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->checkWord((const QString&)*(QString*) QtSupport::toQString(env, _buffer, &_qstring__buffer));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KSpell_checkWord__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring _buffer, jboolean usedialog)
{
static QString* _qstring__buffer = 0;
	jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->checkWord((const QString&)*(QString*) QtSupport::toQString(env, _buffer, &_qstring__buffer), (bool) usedialog);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KSpell_checkWord__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring buffer, jboolean _usedialog, jboolean suggest)
{
static QString* _qstring_buffer = 0;
	jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->checkWord((const QString&)*(QString*) QtSupport::toQString(env, buffer, &_qstring_buffer), (bool) _usedialog, (bool) suggest);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KSpell_check__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _buffer)
{
static QString* _qstring__buffer = 0;
	jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->check((const QString&)*(QString*) QtSupport::toQString(env, _buffer, &_qstring__buffer));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KSpell_check__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring _buffer, jboolean usedialog)
{
static QString* _qstring__buffer = 0;
	jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->check((const QString&)*(QString*) QtSupport::toQString(env, _buffer, &_qstring__buffer), (bool) usedialog);
	return xret;
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KSpell_cleanFputsWord__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring s)
{
static QString* _qstring_s = 0;
	jboolean xret = (jboolean) ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_cleanFputsWord((const QString&)*(QString*) QtSupport::toQString(env, s, &_qstring_s));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KSpell_cleanFputsWord__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring s, jboolean appendCR)
{
static QString* _qstring_s = 0;
	jboolean xret = (jboolean) ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_cleanFputsWord((const QString&)*(QString*) QtSupport::toQString(env, s, &_qstring_s), (bool) appendCR);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KSpell_cleanFputs__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring s)
{
static QString* _qstring_s = 0;
	jboolean xret = (jboolean) ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_cleanFputs((const QString&)*(QString*) QtSupport::toQString(env, s, &_qstring_s));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KSpell_cleanFputs__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring s, jboolean appendCR)
{
static QString* _qstring_s = 0;
	jboolean xret = (jboolean) ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_cleanFputs((const QString&)*(QString*) QtSupport::toQString(env, s, &_qstring_s), (bool) appendCR);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_cleanUp(JNIEnv* env, jobject obj)
{
	((KSpellJBridge*) QtSupport::getQt(env, obj))->public_cleanUp();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_dialog2(JNIEnv* env, jobject obj, jint dlgresult)
{
	((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_dialog2((int) dlgresult);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_dialog(JNIEnv* env, jobject obj, jstring word, jobjectArray sugg, jstring _slot)
{
static QString* _qstring_word = 0;
static QStringList* _qlist_sugg = 0;
static QCString* _qstring__slot = 0;
	((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_dialog((const QString&)*(QString*) QtSupport::toQString(env, word, &_qstring_word), (QStringList&)*(QStringList*) QtSupport::toQStringList(env, sugg, &_qlist_sugg), (const char*) QtSupport::toCharString(env, _slot, &_qstring__slot));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_koala_KSpell_finalize(env, obj);
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KSpell_dlgResult(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KSpell*) QtSupport::getQt(env, obj))->dlgResult();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_emitDeath(JNIEnv* env, jobject obj)
{
	((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_emitDeath();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_emitProgress(JNIEnv* env, jobject obj)
{
	((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_emitProgress();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_finalize(JNIEnv* env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj)) {
		delete (KSpell*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KSpell_funnyWord(JNIEnv* env, jobject obj, jstring word)
{
	QString  _qstring;
static QString* _qstring_word = 0;
	_qstring = ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_funnyWord((const QString&)*(QString*) QtSupport::toQString(env, word, &_qstring_word));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KSpell_heightDlg(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KSpell*) QtSupport::getQt(env, obj))->heightDlg();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_hide(JNIEnv* env, jobject obj)
{
	((KSpell*) QtSupport::getQt(env, obj))->hide();
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KSpell_ignore(JNIEnv* env, jobject obj, jstring word)
{
static QString* _qstring_word = 0;
	jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->ignore((const QString&)*(QString*) QtSupport::toQString(env, word, &_qstring_word));
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_initialize(JNIEnv* env, jobject obj, jobject _parent, jstring _caption, jobject arg3, jstring slot, jobject _ksc, jboolean _progressbar, jboolean _modal, jint type)
{
static QString* _qstring__caption = 0;
static QCString* _qstring_slot = 0;
	((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_initialize((QWidget*) QtSupport::getQt(env, _parent), (const QString&)*(QString*) QtSupport::toQString(env, _caption, &_qstring__caption), (QObject*) QtSupport::getQt(env, arg3), (const char*) QtSupport::toCharString(env, slot, &_qstring_slot), (KSpellConfig*) QtSupport::getQt(env, _ksc), (bool) _progressbar, (bool) _modal, (KSpell::SpellerType) type);
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KSpell_intermediateBuffer(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((KSpell*) QtSupport::getQt(env, obj))->intermediateBuffer();
	return QtSupport::fromQString(env, &_qstring);
}

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

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_ispellErrors(JNIEnv* env, jobject obj, jobject arg1, jstring arg2, jint arg3)
{
static QCString* _qstring_arg2 = 0;
	((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_ispellErrors((KProcess*) QtSupport::getQt(env, arg1), (char*) QtSupport::toCharString(env, arg2, &_qstring_arg2), (int) arg3);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_ispellExit(JNIEnv* env, jobject obj, jobject arg1)
{
	((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_ispellExit((KProcess*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KSpell_ksConfig(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KSpellConfig(((KSpell*) QtSupport::getQt(env, obj))->ksConfig()), "org.kde.koala.KSpellConfig", TRUE);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KSpell_lastPosition(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KSpell*) QtSupport::getQt(env, obj))->lastPosition();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KSpell_metaObject(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KSpell*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.QMetaObject");
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KSpell_modalCheck(JNIEnv* env, jclass cls, jobject text, jobject kcs)
{
	(void) cls;
static QString* _qstring_text = 0;
	jint xret = (jint) KSpellJBridge::modalCheck((QString&)*(QString*) QtSupport::toQStringFromStringBuffer(env, text, &_qstring_text), (KSpellConfig*) QtSupport::getQt(env, kcs));
	QtSupport::fromQStringToStringBuffer(env, _qstring_text, text);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_moveDlg(JNIEnv* env, jobject obj, jint x, jint y)
{
	((KSpell*) QtSupport::getQt(env, obj))->moveDlg((int) x, (int) y);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_newKSpell__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring caption, jobject receiver, jstring slot)
{
static QString* _qstring_caption = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KSpellJBridge((QWidget*) QtSupport::getQt(env, parent), (const QString&)*(QString*) QtSupport::toQString(env, caption, &_qstring_caption), (QObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()"));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_newKSpell__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KSpellConfig_2(JNIEnv* env, jobject obj, jobject parent, jstring caption, jobject receiver, jstring slot, jobject kcs)
{
static QString* _qstring_caption = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KSpellJBridge((QWidget*) QtSupport::getQt(env, parent), (const QString&)*(QString*) QtSupport::toQString(env, caption, &_qstring_caption), (QObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (KSpellConfig*) QtSupport::getQt(env, kcs)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_newKSpell__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KSpellConfig_2Z(JNIEnv* env, jobject obj, jobject parent, jstring caption, jobject receiver, jstring slot, jobject kcs, jboolean progressbar)
{
static QString* _qstring_caption = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KSpellJBridge((QWidget*) QtSupport::getQt(env, parent), (const QString&)*(QString*) QtSupport::toQString(env, caption, &_qstring_caption), (QObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (KSpellConfig*) QtSupport::getQt(env, kcs), (bool) progressbar));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_newKSpell__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KSpellConfig_2ZZ(JNIEnv* env, jobject obj, jobject parent, jstring caption, jobject receiver, jstring slot, jobject kcs, jboolean progressbar, jboolean modal)
{
static QString* _qstring_caption = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KSpellJBridge((QWidget*) QtSupport::getQt(env, parent), (const QString&)*(QString*) QtSupport::toQString(env, caption, &_qstring_caption), (QObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (KSpellConfig*) QtSupport::getQt(env, kcs), (bool) progressbar, (bool) modal));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_newKSpell__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KSpellConfig_2ZZI(JNIEnv* env, jobject obj, jobject parent, jstring caption, jobject receiver, jstring slot, jobject kcs, jboolean progressbar, jboolean modal, jint type)
{
static QString* _qstring_caption = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KSpellJBridge((QWidget*) QtSupport::getQt(env, parent), (const QString&)*(QString*) QtSupport::toQString(env, caption, &_qstring_caption), (QObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (KSpellConfig*) QtSupport::getQt(env, kcs), (bool) progressbar, (bool) modal, (KSpell::SpellerType) type));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KSpell_parseOneResponse(JNIEnv* env, jobject obj, jstring _buffer, jobject word, jobjectArray sugg)
{
static QString* _qstring__buffer = 0;
static QString* _qstring_word = 0;
static QStringList* _qlist_sugg = 0;
	jint xret = (jint) ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_parseOneResponse((const QString&)*(QString*) QtSupport::toQString(env, _buffer, &_qstring__buffer), (QString&)*(QString*) QtSupport::toQStringFromStringBuffer(env, word, &_qstring_word), (QStringList&)*(QStringList*) QtSupport::toQStringList(env, sugg, &_qlist_sugg));
	QtSupport::fromQStringToStringBuffer(env, _qstring_word, word);
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KSpell_replacement(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_replacement();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_setAutoDelete(JNIEnv* env, jobject obj, jboolean _autoDelete)
{
	((KSpell*) QtSupport::getQt(env, obj))->setAutoDelete((bool) _autoDelete);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_setIgnoreTitleCase(JNIEnv* env, jobject obj, jboolean b)
{
	((KSpell*) QtSupport::getQt(env, obj))->setIgnoreTitleCase((bool) b);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_setIgnoreUpperWords(JNIEnv* env, jobject obj, jboolean b)
{
	((KSpell*) QtSupport::getQt(env, obj))->setIgnoreUpperWords((bool) b);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_setProgressResolution(JNIEnv* env, jobject obj, jint res)
{
	((KSpell*) QtSupport::getQt(env, obj))->setProgressResolution((unsigned int) res);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_setUpDialog__(JNIEnv* env, jobject obj)
{
	((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_setUpDialog();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_setUpDialog__Z(JNIEnv* env, jobject obj, jboolean reallyusedialogbox)
{
	((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_setUpDialog((bool) reallyusedialogbox);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_slotStopCancel(JNIEnv* env, jobject obj, jint arg1)
{
	((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_slotStopCancel((int) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_startIspell(JNIEnv* env, jobject obj)
{
	((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_startIspell();
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KSpell_status(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KSpell*) QtSupport::getQt(env, obj))->status();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_suggestWord(JNIEnv* env, jobject obj, jobject arg1)
{
	((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_suggestWord((KProcIO*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KSpell_suggestions(JNIEnv* env, jobject obj)
{
	QStringList  _qlist;
	_qlist = ((KSpell*) QtSupport::getQt(env, obj))->suggestions();
	return (jobject) QtSupport::arrayWithQStringList(env, (QStringList*) &_qlist);
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KSpell_widthDlg(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KSpell*) QtSupport::getQt(env, obj))->widthDlg();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KSpell_writePersonalDictionary(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_writePersonalDictionary();
	return xret;
}

