/***************************************************************************
                            kde_KFontAction.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_KFontAction.h"
}

#include <kaction.h>

class KFontActionBridge : public KFontAction
{
public:
	KFontActionBridge(const QString& text, const KShortcut& cut, QObject* parent, const char* name) : KFontAction(text, cut, parent, name) {}
	KFontActionBridge(const QString& text, const KShortcut& cut, const QObject* receiver, const char* slot, QObject* parent, const char* name) : KFontAction(text, cut, receiver, slot, parent, name) {}
	KFontActionBridge(const QString& text, const QIconSet& pix, const KShortcut& cut, QObject* parent, const char* name) : KFontAction(text, pix, cut, parent, name) {}
	KFontActionBridge(const QString& text, const QString& pix, const KShortcut& cut, QObject* parent, const char* name) : KFontAction(text, pix, cut, parent, name) {}
	KFontActionBridge(const QString& text, const QIconSet& pix, const KShortcut& cut, const QObject* receiver, const char* slot, QObject* parent, const char* name) : KFontAction(text, pix, cut, receiver, slot, parent, name) {}
	KFontActionBridge(const QString& text, const QString& pix, const KShortcut& cut, const QObject* receiver, const char* slot, QObject* parent, const char* name) : KFontAction(text, pix, cut, receiver, slot, parent, name) {}
	KFontActionBridge(QObject* parent, const char* name) : KFontAction(parent, name) {}
	~KFontActionBridge() {}
	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_KFontAction * kde_new_KFontAction(qt_QString * text, kde_KShortcut* cut, qt_QObject * parent, char* name){
	return (kde_KFontAction *) new KFontActionBridge((QString&)* (QString*)text, (KShortcut&)* (KShortcut*)cut, (QObject*)parent, (char*)name);
}
kde_KFontAction * kde_new_KFontAction1(qt_QString * text, kde_KShortcut* cut, qt_QObject * receiver, char* slot, qt_QObject * parent, char* name){
	return (kde_KFontAction *) new KFontActionBridge((QString&)* (QString*)text, (KShortcut&)* (KShortcut*)cut, (QObject*)receiver, (char*)slot, (QObject*)parent, (char*)name);
}
kde_KFontAction * kde_new_KFontAction2(qt_QString * text, qt_QIconSet* pix, kde_KShortcut* cut, qt_QObject * parent, char* name){
	return (kde_KFontAction *) new KFontActionBridge((QString&)* (QString*)text, (QIconSet&)* (QIconSet*)pix, (KShortcut&)* (KShortcut*)cut, (QObject*)parent, (char*)name);
}
kde_KFontAction * kde_new_KFontAction3(qt_QString * text, qt_QString * pix, kde_KShortcut* cut, qt_QObject * parent, char* name){
	return (kde_KFontAction *) new KFontActionBridge((QString&)* (QString*)text, (QString&)* (QString*)pix, (KShortcut&)* (KShortcut*)cut, (QObject*)parent, (char*)name);
}
kde_KFontAction * kde_new_KFontAction4(qt_QString * text, qt_QIconSet* pix, kde_KShortcut* cut, qt_QObject * receiver, char* slot, qt_QObject * parent, char* name){
	return (kde_KFontAction *) new KFontActionBridge((QString&)* (QString*)text, (QIconSet&)* (QIconSet*)pix, (KShortcut&)* (KShortcut*)cut, (QObject*)receiver, (char*)slot, (QObject*)parent, (char*)name);
}
kde_KFontAction * kde_new_KFontAction5(qt_QString * text, qt_QString * pix, kde_KShortcut* cut, qt_QObject * receiver, char* slot, qt_QObject * parent, char* name){
	return (kde_KFontAction *) new KFontActionBridge((QString&)* (QString*)text, (QString&)* (QString*)pix, (KShortcut&)* (KShortcut*)cut, (QObject*)receiver, (char*)slot, (QObject*)parent, (char*)name);
}
kde_KFontAction * kde_new_KFontAction6(qt_QObject * parent, char* name){
	return (kde_KFontAction *) new KFontActionBridge((QObject*)parent, (char*)name);
}
void kde_del_KFontAction( kde_KFontAction* p ){
	delete (KFontActionBridge*) p;
}
qt_QString * kde_KFontAction_font( kde_KFontAction* instPointer){
	return (qt_QString *)new QString(((KFontActionBridge*)instPointer)->font());
}
int kde_KFontAction_plug( kde_KFontAction* instPointer,qt_QWidget * arg1, int index){
	return (int) ((KFontActionBridge*)instPointer)->plug((QWidget*)arg1, (int)index);
}
void kde_KFontAction_setFont( kde_KFontAction* instPointer,qt_QString * family){
	((KFontActionBridge*)instPointer)->setFont((QString&)* (QString*)family);
	return;
}
