/***************************************************************************
                            kde_KSpell.cpp -  description
                             -------------------
    begin                : Wed Feb  6 15:12:26 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Feb  6 15:12:26 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

extern "C" {
#include "kde_KSpell.h"
}

#include <kspell.h>

class KSpellBridge : public KSpell
{
public:
	KSpellBridge(QWidget* _parent, const QString& _caption, QObject* obj, const char* slot, KSpellConfig* _kcs, bool _progressbar, bool _modal) : KSpell(_parent, _caption, obj, slot, _kcs, _progressbar, _modal) {}
	~KSpellBridge() {}
	int  protected_parseOneResponse(const QString& _buffer, QString& word, QStringList& sugg) {
		return (int ) KSpell::parseOneResponse(_buffer, word, sugg);
	}
	QString  protected_funnyWord(const QString& word) {
		return (QString ) KSpell::funnyWord(word);
	}
	void protected_dialog(const QString& word, QStringList& sugg, const char* _slot) {
		KSpell::dialog(word, sugg, _slot);
		return;
	}
	QString  protected_replacement() {
		return (QString ) KSpell::replacement();
	}
	void protected_setUpDialog(bool reallyusedialogbox) {
		KSpell::setUpDialog(reallyusedialogbox);
		return;
	}
	void protected_emitProgress() {
		KSpell::emitProgress();
		return;
	}
	bool  protected_cleanFputs(const QString& s, bool appendCR) {
		return (bool ) KSpell::cleanFputs(s, appendCR);
	}
	bool  protected_cleanFputsWord(const QString& s, bool appendCR) {
		return (bool ) KSpell::cleanFputsWord(s, appendCR);
	}
	void protected_startIspell() {
		KSpell::startIspell();
		return;
	}
	bool  protected_writePersonalDictionary() {
		return (bool ) KSpell::writePersonalDictionary();
	}
	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 dlgresult) {
		KSpell::dialog2(dlgresult);
		return;
	}
	void protected_check3() {
		KSpell::check3();
		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 childEvent(QChildEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "childEvent", arg1, "QChildEvent")) {
			QObject::childEvent(arg1);
		}
		return;
	}
	void customEvent(QCustomEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "customEvent", arg1, "QCustomEvent")) {
			QObject::customEvent(arg1);
		}
		return;
	}
	void timerEvent(QTimerEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "timerEvent", arg1, "QTimerEvent")) {
			QObject::timerEvent(arg1);
		}
		return;
	}
};

kde_KSpell * kde_new_KSpell(qt_QWidget * _parent, qt_QString * _caption, qt_QObject * obj, char* slot, kde_KSpellConfig* _kcs, int _progressbar, int _modal){
	return (kde_KSpell *) new KSpellBridge((QWidget*)_parent, (QString&)* (QString*)_caption, (QObject*)obj, (char*)slot, (KSpellConfig*)_kcs, (bool)_progressbar, (bool)_modal);
}
int kde_KSpell_status( kde_KSpell* instPointer){
	return (int) ((KSpellBridge*)instPointer)->status();
}
void kde_KSpell_cleanUp( kde_KSpell* instPointer){
	((KSpellBridge*)instPointer)->cleanUp();
	return;
}
void kde_KSpell_setAutoDelete( kde_KSpell* instPointer,int _autoDelete){
	((KSpellBridge*)instPointer)->setAutoDelete((bool)_autoDelete);
	return;
}
int kde_KSpell_check( kde_KSpell* instPointer,qt_QString * _buffer){
	return (int) ((KSpellBridge*)instPointer)->check((QString&)* (QString*)_buffer);
}
int kde_KSpell_lastPosition( kde_KSpell* instPointer){
	return (int) ((KSpellBridge*)instPointer)->lastPosition();
}
int kde_KSpell_checkList( kde_KSpell* instPointer,qt_QStringList* _wordlist){
	return (int) ((KSpellBridge*)instPointer)->checkList((QStringList*)_wordlist);
}
int kde_KSpell_checkWord( kde_KSpell* instPointer,qt_QString * _buffer, int usedialog){
	return (int) ((KSpellBridge*)instPointer)->checkWord((QString&)* (QString*)_buffer, (bool)usedialog);
}
void kde_KSpell_hide( kde_KSpell* instPointer){
	((KSpellBridge*)instPointer)->hide();
	return;
}
qt_QStringList* kde_KSpell_suggestions( kde_KSpell* instPointer){
	return (qt_QStringList*)new QStringList(((KSpellBridge*)instPointer)->suggestions());
}
int kde_KSpell_dlgResult( kde_KSpell* instPointer){
	return (int) ((KSpellBridge*)instPointer)->dlgResult();
}
void kde_KSpell_moveDlg( kde_KSpell* instPointer,int x, int y){
	((KSpellBridge*)instPointer)->moveDlg((int)x, (int)y);
	return;
}
int kde_KSpell_heightDlg( kde_KSpell* instPointer){
	return (int) ((KSpellBridge*)instPointer)->heightDlg();
}
int kde_KSpell_widthDlg( kde_KSpell* instPointer){
	return (int) ((KSpellBridge*)instPointer)->widthDlg();
}
qt_QString * kde_KSpell_intermediateBuffer( kde_KSpell* instPointer){
	return (qt_QString *)new QString(((KSpellBridge*)instPointer)->intermediateBuffer());
}
int kde_KSpell_ignore( kde_KSpell* instPointer,qt_QString * word){
	return (int) ((KSpellBridge*)instPointer)->ignore((QString&)* (QString*)word);
}
int kde_KSpell_addPersonal( kde_KSpell* instPointer,qt_QString * word){
	return (int) ((KSpellBridge*)instPointer)->addPersonal((QString&)* (QString*)word);
}
kde_KSpellConfig* kde_KSpell_ksConfig( kde_KSpell* instPointer){
	return (kde_KSpellConfig*)new KSpellConfig(((KSpellBridge*)instPointer)->ksConfig());
}
void kde_KSpell_setProgressResolution( kde_KSpell* instPointer,unsigned int res){
	((KSpellBridge*)instPointer)->setProgressResolution((unsigned)res);
	return;
}
void kde_del_KSpell( kde_KSpell* p ){
	delete (KSpellBridge*) p;
}
void kde_KSpell_setIgnoreUpperWords( kde_KSpell* instPointer,int _b){
	((KSpellBridge*)instPointer)->setIgnoreUpperWords((bool)_b);
	return;
}
void kde_KSpell_setIgnoreTitleCase( kde_KSpell* instPointer,int _b){
	((KSpellBridge*)instPointer)->setIgnoreTitleCase((bool)_b);
	return;
}
int kde_KSpell_modalCheck( qt_QString * text){
	return (int) KSpellBridge::modalCheck((QString&)* (QString*)text);
}
int kde_KSpell_modalCheck1( qt_QString * text, kde_KSpellConfig* _kcs){
	return (int) KSpellBridge::modalCheck((QString&)* (QString*)text, (KSpellConfig*)_kcs);
}
int kde_KSpell_parseOneResponse( kde_KSpell* instPointer,qt_QString * _buffer, qt_QString * word, qt_QStringList* sugg){
	return (int) ((KSpellBridge*)instPointer)->protected_parseOneResponse((QString&)* (QString*)_buffer, (QString&)* (QString*)word, (QStringList&)* (QStringList*)sugg);
}
qt_QString * kde_KSpell_funnyWord( kde_KSpell* instPointer,qt_QString * word){
	return (qt_QString *)new QString(((KSpellBridge*)instPointer)->protected_funnyWord((QString&)* (QString*)word));
}
void kde_KSpell_dialog( kde_KSpell* instPointer,qt_QString * word, qt_QStringList* sugg, char* _slot){
	((KSpellBridge*)instPointer)->protected_dialog((QString&)* (QString*)word, (QStringList&)* (QStringList*)sugg, (char*)_slot);
	return;
}
qt_QString * kde_KSpell_replacement( kde_KSpell* instPointer){
	return (qt_QString *)new QString(((KSpellBridge*)instPointer)->protected_replacement());
}
void kde_KSpell_setUpDialog( kde_KSpell* instPointer,int reallyusedialogbox){
	((KSpellBridge*)instPointer)->protected_setUpDialog((bool)reallyusedialogbox);
	return;
}
void kde_KSpell_emitProgress( kde_KSpell* instPointer){
	((KSpellBridge*)instPointer)->protected_emitProgress();
	return;
}
int kde_KSpell_cleanFputs( kde_KSpell* instPointer,qt_QString * s, int appendCR){
	return (int) ((KSpellBridge*)instPointer)->protected_cleanFputs((QString&)* (QString*)s, (bool)appendCR);
}
int kde_KSpell_cleanFputsWord( kde_KSpell* instPointer,qt_QString * s, int appendCR){
	return (int) ((KSpellBridge*)instPointer)->protected_cleanFputsWord((QString&)* (QString*)s, (bool)appendCR);
}
void kde_KSpell_startIspell( kde_KSpell* instPointer){
	((KSpellBridge*)instPointer)->protected_startIspell();
	return;
}
int kde_KSpell_writePersonalDictionary( kde_KSpell* instPointer){
	return (int) ((KSpellBridge*)instPointer)->protected_writePersonalDictionary();
}
void kde_KSpell_KSpell2( kde_KSpell* instPointer,kde_KProcIO* arg1){
	((KSpellBridge*)instPointer)->protected_KSpell2((KProcIO*)arg1);
	return;
}
void kde_KSpell_checkWord2( kde_KSpell* instPointer,kde_KProcIO* arg1){
	((KSpellBridge*)instPointer)->protected_checkWord2((KProcIO*)arg1);
	return;
}
void kde_KSpell_checkWord3( kde_KSpell* instPointer){
	((KSpellBridge*)instPointer)->protected_checkWord3();
	return;
}
void kde_KSpell_check2( kde_KSpell* instPointer,kde_KProcIO* arg1){
	((KSpellBridge*)instPointer)->protected_check2((KProcIO*)arg1);
	return;
}
void kde_KSpell_checkList2( kde_KSpell* instPointer){
	((KSpellBridge*)instPointer)->protected_checkList2();
	return;
}
void kde_KSpell_checkList3a( kde_KSpell* instPointer,kde_KProcIO* arg1){
	((KSpellBridge*)instPointer)->protected_checkList3a((KProcIO*)arg1);
	return;
}
void kde_KSpell_checkListReplaceCurrent( kde_KSpell* instPointer){
	((KSpellBridge*)instPointer)->protected_checkListReplaceCurrent();
	return;
}
void kde_KSpell_checkList4( kde_KSpell* instPointer){
	((KSpellBridge*)instPointer)->protected_checkList4();
	return;
}
void kde_KSpell_dialog2( kde_KSpell* instPointer,int dlgresult){
	((KSpellBridge*)instPointer)->protected_dialog2((int)dlgresult);
	return;
}
void kde_KSpell_check3( kde_KSpell* instPointer){
	((KSpellBridge*)instPointer)->protected_check3();
	return;
}
void kde_KSpell_slotStopCancel( kde_KSpell* instPointer,int arg1){
	((KSpellBridge*)instPointer)->protected_slotStopCancel((int)arg1);
	return;
}
void kde_KSpell_ispellExit( kde_KSpell* instPointer,kde_KProcess* arg1){
	((KSpellBridge*)instPointer)->protected_ispellExit((KProcess*)arg1);
	return;
}
void kde_KSpell_emitDeath( kde_KSpell* instPointer){
	((KSpellBridge*)instPointer)->protected_emitDeath();
	return;
}
void kde_KSpell_ispellErrors( kde_KSpell* instPointer,kde_KProcess* arg1, char* arg2, int arg3){
	((KSpellBridge*)instPointer)->protected_ispellErrors((KProcess*)arg1, (char*)arg2, (int)arg3);
	return;
}
