/***************************************************************************
                            kde_KCharSelect.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_KCharSelect.h"
}

#include <kcharselect.h>

class KCharSelectBridge : public KCharSelect
{
public:
	KCharSelectBridge(QWidget* parent, const char* name, const QString& font, const QChar& chr, int tableNum) : KCharSelect(parent, name, font, chr, tableNum) {}
	void protected_fillFontCombo() {
		KCharSelect::fillFontCombo();
		return;
	}
	void protected_fontSelected(const QString& _font) {
		KCharSelect::fontSelected(_font);
		return;
	}
	void protected_tableChanged(int _value) {
		KCharSelect::tableChanged(_value);
		return;
	}
	void protected_charHighlighted(const QChar& c) {
		KCharSelect::charHighlighted(c);
		return;
	}
	void protected_charHighlighted() {
		KCharSelect::charHighlighted();
		return;
	}
	void protected_charActivated(const QChar& c) {
		KCharSelect::charActivated(c);
		return;
	}
	void protected_charActivated() {
		KCharSelect::charActivated();
		return;
	}
	void protected_charFocusItemChanged() {
		KCharSelect::charFocusItemChanged();
		return;
	}
	void protected_charFocusItemChanged(const QChar& c) {
		KCharSelect::charFocusItemChanged(c);
		return;
	}
	void protected_charTableUp() {
		KCharSelect::charTableUp();
		return;
	}
	void protected_charTableDown() {
		KCharSelect::charTableDown();
		return;
	}
	void protected_slotDoubleClicked() {
		KCharSelect::slotDoubleClicked();
		return;
	}
	void protected_cleanupFontDatabase() {
		KCharSelect::cleanupFontDatabase();
		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")) {
			QFrame::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")) {
			QFrame::resizeEvent(arg1);
		}
		return;
	}
};

kde_KCharSelect * kde_new_KCharSelect(qt_QWidget * parent, char* name, qt_QString * font, qt_QChar* chr, int tableNum){
	return (kde_KCharSelect *) new KCharSelectBridge((QWidget*)parent, (char*)name, (QString&)* (QString*)font, (QChar&)* (QChar*)chr, (int)tableNum);
}
qt_QSize * kde_KCharSelect_sizeHint( kde_KCharSelect* instPointer){
	QSize _s= ((KCharSelectBridge*)instPointer)->sizeHint();
	return (qt_QSize *)new QSize(_s.width(),_s.height());
}
void kde_KCharSelect_setFont( kde_KCharSelect* instPointer,qt_QString * font){
	((KCharSelectBridge*)instPointer)->setFont((QString&)* (QString*)font);
	return;
}
void kde_KCharSelect_setChar( kde_KCharSelect* instPointer,qt_QChar* chr){
	((KCharSelectBridge*)instPointer)->setChar((QChar&)* (QChar*)chr);
	return;
}
void kde_KCharSelect_setTableNum( kde_KCharSelect* instPointer,int tableNum){
	((KCharSelectBridge*)instPointer)->setTableNum((int)tableNum);
	return;
}
qt_QChar* kde_KCharSelect_chr( kde_KCharSelect* instPointer){
	return (qt_QChar*)new QChar(((KCharSelectBridge*)instPointer)->chr());
}
qt_QString * kde_KCharSelect_font( kde_KCharSelect* instPointer){
	return (qt_QString *)new QString(((KCharSelectBridge*)instPointer)->font());
}
int kde_KCharSelect_tableNum( kde_KCharSelect* instPointer){
	return (int) ((KCharSelectBridge*)instPointer)->tableNum();
}
void kde_KCharSelect_enableFontCombo( kde_KCharSelect* instPointer,int e){
	((KCharSelectBridge*)instPointer)->enableFontCombo((bool)e);
	return;
}
void kde_KCharSelect_enableTableSpinBox( kde_KCharSelect* instPointer,int e){
	((KCharSelectBridge*)instPointer)->enableTableSpinBox((bool)e);
	return;
}
int kde_KCharSelect_isFontComboEnabled( kde_KCharSelect* instPointer){
	return (int) ((KCharSelectBridge*)instPointer)->isFontComboEnabled();
}
int kde_KCharSelect_isTableSpinBoxEnabled( kde_KCharSelect* instPointer){
	return (int) ((KCharSelectBridge*)instPointer)->isTableSpinBoxEnabled();
}
void kde_KCharSelect_fillFontCombo( kde_KCharSelect* instPointer){
	((KCharSelectBridge*)instPointer)->protected_fillFontCombo();
	return;
}
void kde_KCharSelect_fontSelected( kde_KCharSelect* instPointer,qt_QString * _font){
	((KCharSelectBridge*)instPointer)->protected_fontSelected((QString&)* (QString*)_font);
	return;
}
void kde_KCharSelect_tableChanged( kde_KCharSelect* instPointer,int _value){
	((KCharSelectBridge*)instPointer)->protected_tableChanged((int)_value);
	return;
}
void kde_KCharSelect_charHighlighted( kde_KCharSelect* instPointer,qt_QChar* c){
	((KCharSelectBridge*)instPointer)->protected_charHighlighted((QChar&)* (QChar*)c);
	return;
}
void kde_KCharSelect_charHighlighted1( kde_KCharSelect* instPointer){
	((KCharSelectBridge*)instPointer)->protected_charHighlighted();
	return;
}
void kde_KCharSelect_charActivated( kde_KCharSelect* instPointer,qt_QChar* c){
	((KCharSelectBridge*)instPointer)->protected_charActivated((QChar&)* (QChar*)c);
	return;
}
void kde_KCharSelect_charActivated1( kde_KCharSelect* instPointer){
	((KCharSelectBridge*)instPointer)->protected_charActivated();
	return;
}
void kde_KCharSelect_charFocusItemChanged( kde_KCharSelect* instPointer){
	((KCharSelectBridge*)instPointer)->protected_charFocusItemChanged();
	return;
}
void kde_KCharSelect_charFocusItemChanged1( kde_KCharSelect* instPointer,qt_QChar* c){
	((KCharSelectBridge*)instPointer)->protected_charFocusItemChanged((QChar&)* (QChar*)c);
	return;
}
void kde_KCharSelect_charTableUp( kde_KCharSelect* instPointer){
	((KCharSelectBridge*)instPointer)->protected_charTableUp();
	return;
}
void kde_KCharSelect_charTableDown( kde_KCharSelect* instPointer){
	((KCharSelectBridge*)instPointer)->protected_charTableDown();
	return;
}
void kde_KCharSelect_slotDoubleClicked( kde_KCharSelect* instPointer){
	((KCharSelectBridge*)instPointer)->protected_slotDoubleClicked();
	return;
}
//void kde_KCharSelect_cleanupFontDatabase( ){
//	KCharSelectBridge::protected_cleanupFontDatabase();
//	return;
//}
