/***************************************************************************
                            kde_KSpellConfig.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_KSpellConfig.h"
}

#include <qstringlist.h>
#include <ksconfig.h>

class KSpellConfigBridge : public KSpellConfig
{
public:
	KSpellConfigBridge(QWidget* parent, const char* name, KSpellConfig* spellConfig, bool addHelpButton) : KSpellConfig(parent, name, spellConfig, addHelpButton) {}
	KSpellConfigBridge(const KSpellConfig& arg1) : KSpellConfig(arg1) {}
	~KSpellConfigBridge() {}
	void protected_fillInDialog() {
		KSpellConfig::fillInDialog();
		return;
	}
	bool  protected_readGlobalSettings() {
		return (bool ) KSpellConfig::readGlobalSettings();
	}
	bool  protected_interpret(QString& fname, QString& lname, QString& hname) {
		return (bool ) KSpellConfig::interpret(fname, lname, hname);
	}
	void protected_sHelp() {
		KSpellConfig::sHelp();
		return;
	}
	void protected_sNoAff(bool arg1) {
		KSpellConfig::sNoAff(arg1);
		return;
	}
	void protected_sRunTogether(bool arg1) {
		KSpellConfig::sRunTogether(arg1);
		return;
	}
	void protected_sDictionary(bool arg1) {
		KSpellConfig::sDictionary(arg1);
		return;
	}
	void protected_sPathDictionary(bool arg1) {
		KSpellConfig::sPathDictionary(arg1);
		return;
	}
	void protected_sSetDictionary(int arg1) {
		KSpellConfig::sSetDictionary(arg1);
		return;
	}
	void protected_sChangeEncoding(int arg1) {
		KSpellConfig::sChangeEncoding(arg1);
		return;
	}
	void protected_sChangeClient(int arg1) {
		KSpellConfig::sChangeClient(arg1);
		return;
	}
	void keyPressEvent(QKeyEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "keyPressEvent", arg1, "QKeyEvent")) {
			QWidget::keyPressEvent(arg1);
		}
		return;
	}
	void keyReleaseEvent(QKeyEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "keyReleaseEvent", arg1, "QKeyEvent")) {
			QWidget::keyReleaseEvent(arg1);
		}
		return;
	}
	void focusOutEvent(QFocusEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "focusOutEvent", arg1, "QFocusEvent")) {
			QWidget::focusOutEvent(arg1);
		}
		return;
	}
	void childEvent(QChildEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "childEvent", arg1, "QChildEvent")) {
			QObject::childEvent(arg1);
		}
		return;
	}
	void dragMoveEvent(QDragMoveEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "dragMoveEvent", arg1, "QDragMoveEvent")) {
			QWidget::dragMoveEvent(arg1);
		}
		return;
	}
	void leaveEvent(QEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "leaveEvent", arg1, "QEvent")) {
			QWidget::leaveEvent(arg1);
		}
		return;
	}
	void tabletEvent(QTabletEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "tabletEvent", arg1, "QTabletEvent")) {
			QWidget::tabletEvent(arg1);
		}
		return;
	}
	void showEvent(QShowEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "showEvent", arg1, "QShowEvent")) {
			QWidget::showEvent(arg1);
		}
		return;
	}
	void contextMenuEvent(QContextMenuEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "contextMenuEvent", arg1, "QContextMenuEvent")) {
			QWidget::contextMenuEvent(arg1);
		}
		return;
	}
	void mousePressEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "mousePressEvent", arg1, "QMouseEvent")) {
			QWidget::mousePressEvent(arg1);
		}
		return;
	}
	void imComposeEvent(QIMEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "imComposeEvent", arg1, "QIMEvent")) {
			QWidget::imComposeEvent(arg1);
		}
		return;
	}
	void customEvent(QCustomEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "customEvent", arg1, "QCustomEvent")) {
			QObject::customEvent(arg1);
		}
		return;
	}
	void mouseReleaseEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "mouseReleaseEvent", arg1, "QMouseEvent")) {
			QWidget::mouseReleaseEvent(arg1);
		}
		return;
	}
	void mouseDoubleClickEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "mouseDoubleClickEvent", arg1, "QMouseEvent")) {
			QWidget::mouseDoubleClickEvent(arg1);
		}
		return;
	}
	void dragLeaveEvent(QDragLeaveEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "dragLeaveEvent", arg1, "QDragLeaveEvent")) {
			QWidget::dragLeaveEvent(arg1);
		}
		return;
	}
	void enterEvent(QEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "enterEvent", arg1, "QEvent")) {
			QWidget::enterEvent(arg1);
		}
		return;
	}
	void focusInEvent(QFocusEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "focusInEvent", arg1, "QFocusEvent")) {
			QWidget::focusInEvent(arg1);
		}
		return;
	}
	void imEndEvent(QIMEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "imEndEvent", arg1, "QIMEvent")) {
			QWidget::imEndEvent(arg1);
		}
		return;
	}
	void dropEvent(QDropEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "dropEvent", arg1, "QDropEvent")) {
			QWidget::dropEvent(arg1);
		}
		return;
	}
	void dragEnterEvent(QDragEnterEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "dragEnterEvent", arg1, "QDragEnterEvent")) {
			QWidget::dragEnterEvent(arg1);
		}
		return;
	}
	void mouseMoveEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "mouseMoveEvent", arg1, "QMouseEvent")) {
			QWidget::mouseMoveEvent(arg1);
		}
		return;
	}
	void moveEvent(QMoveEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "moveEvent", arg1, "QMoveEvent")) {
			QWidget::moveEvent(arg1);
		}
		return;
	}
	void wheelEvent(QWheelEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "wheelEvent", arg1, "QWheelEvent")) {
			QWidget::wheelEvent(arg1);
		}
		return;
	}
	void hideEvent(QHideEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "hideEvent", arg1, "QHideEvent")) {
			QWidget::hideEvent(arg1);
		}
		return;
	}
	void imStartEvent(QIMEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "imStartEvent", arg1, "QIMEvent")) {
			QWidget::imStartEvent(arg1);
		}
		return;
	}
	void closeEvent(QCloseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "closeEvent", arg1, "QCloseEvent")) {
			QWidget::closeEvent(arg1);
		}
		return;
	}
	void paintEvent(QPaintEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "paintEvent", arg1, "QPaintEvent")) {
			QWidget::paintEvent(arg1);
		}
		return;
	}
	void timerEvent(QTimerEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "timerEvent", arg1, "QTimerEvent")) {
			QObject::timerEvent(arg1);
		}
		return;
	}
	void resizeEvent(QResizeEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "resizeEvent", arg1, "QResizeEvent")) {
			QWidget::resizeEvent(arg1);
		}
		return;
	}
};

kde_KSpellConfig * kde_new_KSpellConfig(qt_QWidget * parent, char* name, kde_KSpellConfig* spellConfig, int addHelpButton){
	return (kde_KSpellConfig *) new KSpellConfigBridge((QWidget*)parent, (char*)name, (KSpellConfig*)spellConfig, (bool)addHelpButton);
}
kde_KSpellConfig * kde_new_KSpellConfig1(kde_KSpellConfig* arg1){
	return (kde_KSpellConfig *) new KSpellConfigBridge((KSpellConfig&)* (KSpellConfig*)arg1);
}
void kde_del_KSpellConfig( kde_KSpellConfig* p ){
	delete (KSpellConfigBridge*) p;
}
void kde_KSpellConfig_setIgnoreList( kde_KSpellConfig* instPointer,qt_QStringList* _ignorelist){
	((KSpellConfigBridge*)instPointer)->setIgnoreList((QStringList)* (QStringList*)_ignorelist);
	return;
}
void kde_KSpellConfig_setNoRootAffix( kde_KSpellConfig* instPointer,int arg1){
	((KSpellConfigBridge*)instPointer)->setNoRootAffix((bool)arg1);
	return;
}
void kde_KSpellConfig_setRunTogether( kde_KSpellConfig* instPointer,int arg1){
	((KSpellConfigBridge*)instPointer)->setRunTogether((bool)arg1);
	return;
}
void kde_KSpellConfig_setDictionary( kde_KSpellConfig* instPointer,qt_QString * qs){
	((KSpellConfigBridge*)instPointer)->setDictionary((QString)* (QString*)qs);
	return;
}
void kde_KSpellConfig_setDictFromList( kde_KSpellConfig* instPointer,int dfl){
	((KSpellConfigBridge*)instPointer)->setDictFromList((bool)dfl);
	return;
}
void kde_KSpellConfig_setEncoding( kde_KSpellConfig* instPointer,int enctype){
	((KSpellConfigBridge*)instPointer)->setEncoding((int)enctype);
	return;
}
void kde_KSpellConfig_setClient( kde_KSpellConfig* instPointer,int client){
	((KSpellConfigBridge*)instPointer)->setClient((int)client);
	return;
}
int kde_KSpellConfig_noRootAffix( kde_KSpellConfig* instPointer){
	return (int) ((KSpellConfigBridge*)instPointer)->noRootAffix();
}
int kde_KSpellConfig_runTogether( kde_KSpellConfig* instPointer){
	return (int) ((KSpellConfigBridge*)instPointer)->runTogether();
}
qt_QString * kde_KSpellConfig_dictionary( kde_KSpellConfig* instPointer){
	return (qt_QString *)new QString(((KSpellConfigBridge*)instPointer)->dictionary());
}
int kde_KSpellConfig_dictFromList( kde_KSpellConfig* instPointer){
	return (int) ((KSpellConfigBridge*)instPointer)->dictFromList();
}
int kde_KSpellConfig_encoding( kde_KSpellConfig* instPointer){
	return (int) ((KSpellConfigBridge*)instPointer)->encoding();
}
qt_QStringList* kde_KSpellConfig_ignoreList( kde_KSpellConfig* instPointer){
	return (qt_QStringList*)new QStringList(((KSpellConfigBridge*)instPointer)->ignoreList());
}
int kde_KSpellConfig_client( kde_KSpellConfig* instPointer){
	return (int) ((KSpellConfigBridge*)instPointer)->client();
}
int kde_KSpellConfig_writeGlobalSettings( kde_KSpellConfig* instPointer){
	return (int) ((KSpellConfigBridge*)instPointer)->writeGlobalSettings();
}
void kde_KSpellConfig_activateHelp( kde_KSpellConfig* instPointer){
	((KSpellConfigBridge*)instPointer)->activateHelp();
	return;
}
void kde_KSpellConfig_fillInDialog( kde_KSpellConfig* instPointer){
	((KSpellConfigBridge*)instPointer)->protected_fillInDialog();
	return;
}
int kde_KSpellConfig_readGlobalSettings( kde_KSpellConfig* instPointer){
	return (int) ((KSpellConfigBridge*)instPointer)->protected_readGlobalSettings();
}
int kde_KSpellConfig_interpret( kde_KSpellConfig* instPointer,qt_QString * fname, qt_QString * lname, qt_QString * hname){
	return (int) ((KSpellConfigBridge*)instPointer)->protected_interpret((QString&)* (QString*)fname, (QString&)* (QString*)lname, (QString&)* (QString*)hname);
}
void kde_KSpellConfig_sHelp( kde_KSpellConfig* instPointer){
	((KSpellConfigBridge*)instPointer)->protected_sHelp();
	return;
}
void kde_KSpellConfig_sNoAff( kde_KSpellConfig* instPointer,int arg1){
	((KSpellConfigBridge*)instPointer)->protected_sNoAff((bool)arg1);
	return;
}
void kde_KSpellConfig_sRunTogether( kde_KSpellConfig* instPointer,int arg1){
	((KSpellConfigBridge*)instPointer)->protected_sRunTogether((bool)arg1);
	return;
}
void kde_KSpellConfig_sDictionary( kde_KSpellConfig* instPointer,int arg1){
	((KSpellConfigBridge*)instPointer)->protected_sDictionary((bool)arg1);
	return;
}
void kde_KSpellConfig_sPathDictionary( kde_KSpellConfig* instPointer,int arg1){
	((KSpellConfigBridge*)instPointer)->protected_sPathDictionary((bool)arg1);
	return;
}
void kde_KSpellConfig_sSetDictionary( kde_KSpellConfig* instPointer,int arg1){
	((KSpellConfigBridge*)instPointer)->protected_sSetDictionary((int)arg1);
	return;
}
void kde_KSpellConfig_sChangeEncoding( kde_KSpellConfig* instPointer,int arg1){
	((KSpellConfigBridge*)instPointer)->protected_sChangeEncoding((int)arg1);
	return;
}
void kde_KSpellConfig_sChangeClient( kde_KSpellConfig* instPointer,int arg1){
	((KSpellConfigBridge*)instPointer)->protected_sChangeClient((int)arg1);
	return;
}
