/***************************************************************************
                            kde_KListAction.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_KListAction.h"
}

#include <kaction.h>

class KListActionBridge : public KListAction
{
public:
	KListActionBridge(const QString& text, const KShortcut& cut, QObject* parent, const char* name) : KListAction(text, cut, parent, name) {}
	KListActionBridge(const QString& text, const KShortcut& cut, const QObject* receiver, const char* slot, QObject* parent, const char* name) : KListAction(text, cut, receiver, slot, parent, name) {}
	KListActionBridge(const QString& text, const QIconSet& pix, const KShortcut& cut, QObject* parent, const char* name) : KListAction(text, pix, cut, parent, name) {}
	KListActionBridge(const QString& text, const QString& pix, const KShortcut& cut, QObject* parent, const char* name) : KListAction(text, pix, cut, parent, name) {}
	KListActionBridge(const QString& text, const QIconSet& pix, const KShortcut& cut, const QObject* receiver, const char* slot, QObject* parent, const char* name) : KListAction(text, pix, cut, receiver, slot, parent, name) {}
	KListActionBridge(const QString& text, const QString& pix, const KShortcut& cut, const QObject* receiver, const char* slot, QObject* parent, const char* name) : KListAction(text, pix, cut, receiver, slot, parent, name) {}
	KListActionBridge(QObject* parent, const char* name) : KListAction(parent, name) {}
	~KListActionBridge() {}
	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_KListAction * kde_new_KListAction(qt_QString * text, kde_KShortcut* cut, qt_QObject * parent, char* name){
	return (kde_KListAction *) new KListActionBridge((QString&)* (QString*)text, (KShortcut&)* (KShortcut*)cut, (QObject*)parent, (char*)name);
}
kde_KListAction * kde_new_KListAction1(qt_QString * text, kde_KShortcut* cut, qt_QObject * receiver, char* slot, qt_QObject * parent, char* name){
	return (kde_KListAction *) new KListActionBridge((QString&)* (QString*)text, (KShortcut&)* (KShortcut*)cut, (QObject*)receiver, (char*)slot, (QObject*)parent, (char*)name);
}
kde_KListAction * kde_new_KListAction2(qt_QString * text, qt_QIconSet* pix, kde_KShortcut* cut, qt_QObject * parent, char* name){
	return (kde_KListAction *) new KListActionBridge((QString&)* (QString*)text, (QIconSet&)* (QIconSet*)pix, (KShortcut&)* (KShortcut*)cut, (QObject*)parent, (char*)name);
}
kde_KListAction * kde_new_KListAction3(qt_QString * text, qt_QString * pix, kde_KShortcut* cut, qt_QObject * parent, char* name){
	return (kde_KListAction *) new KListActionBridge((QString&)* (QString*)text, (QString&)* (QString*)pix, (KShortcut&)* (KShortcut*)cut, (QObject*)parent, (char*)name);
}
kde_KListAction * kde_new_KListAction4(qt_QString * text, qt_QIconSet* pix, kde_KShortcut* cut, qt_QObject * receiver, char* slot, qt_QObject * parent, char* name){
	return (kde_KListAction *) new KListActionBridge((QString&)* (QString*)text, (QIconSet&)* (QIconSet*)pix, (KShortcut&)* (KShortcut*)cut, (QObject*)receiver, (char*)slot, (QObject*)parent, (char*)name);
}
kde_KListAction * kde_new_KListAction5(qt_QString * text, qt_QString * pix, kde_KShortcut* cut, qt_QObject * receiver, char* slot, qt_QObject * parent, char* name){
	return (kde_KListAction *) new KListActionBridge((QString&)* (QString*)text, (QString&)* (QString*)pix, (KShortcut&)* (KShortcut*)cut, (QObject*)receiver, (char*)slot, (QObject*)parent, (char*)name);
}
kde_KListAction * kde_new_KListAction6(qt_QObject * parent, char* name){
	return (kde_KListAction *) new KListActionBridge((QObject*)parent, (char*)name);
}
void kde_del_KListAction( kde_KListAction* p ){
	delete (KListActionBridge*) p;
}
qt_QString * kde_KListAction_currentText( kde_KListAction* instPointer){
	return (qt_QString *)new QString(((KListActionBridge*)instPointer)->currentText());
}
int kde_KListAction_currentItem( kde_KListAction* instPointer){
	return (int) ((KListActionBridge*)instPointer)->currentItem();
}
void kde_KListAction_setCurrentItem( kde_KListAction* instPointer,int index){
	((KListActionBridge*)instPointer)->setCurrentItem((int)index);
	return;
}
//void kde_KListAction_setCurrentItem1( kde_KListAction* instPointer,int a, int b){
//	((KListActionBridge*)instPointer)->setCurrentItem((int)a, (int)b);
//	return;
//}
