/***************************************************************************
                            kde_KRecentFilesAction.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_KRecentFilesAction.h"
}

#include <kaction.h>

class KRecentFilesActionBridge : public KRecentFilesAction
{
public:
	KRecentFilesActionBridge(const QString& text, const KShortcut& cut, QObject* parent, const char* name, uint maxItems) : KRecentFilesAction(text, cut, parent, name, maxItems) {}
	KRecentFilesActionBridge(const QString& text, const KShortcut& cut, const QObject* receiver, const char* slot, QObject* parent, const char* name, uint maxItems) : KRecentFilesAction(text, cut, receiver, slot, parent, name, maxItems) {}
	KRecentFilesActionBridge(const QString& text, const QIconSet& pix, const KShortcut& cut, QObject* parent, const char* name, uint maxItems) : KRecentFilesAction(text, pix, cut, parent, name, maxItems) {}
	KRecentFilesActionBridge(const QString& text, const QString& pix, const KShortcut& cut, QObject* parent, const char* name, uint maxItems) : KRecentFilesAction(text, pix, cut, parent, name, maxItems) {}
	KRecentFilesActionBridge(const QString& text, const QIconSet& pix, const KShortcut& cut, const QObject* receiver, const char* slot, QObject* parent, const char* name, uint maxItems) : KRecentFilesAction(text, pix, cut, receiver, slot, parent, name, maxItems) {}
	KRecentFilesActionBridge(const QString& text, const QString& pix, const KShortcut& cut, const QObject* receiver, const char* slot, QObject* parent, const char* name, uint maxItems) : KRecentFilesAction(text, pix, cut, receiver, slot, parent, name, maxItems) {}
	KRecentFilesActionBridge(QObject* parent, const char* name, uint maxItems) : KRecentFilesAction(parent, name, maxItems) {}
	~KRecentFilesActionBridge() {}
	void protected_itemSelected(const QString& string) {
		KRecentFilesAction::itemSelected(string);
		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_KRecentFilesAction * kde_new_KRecentFilesAction(qt_QString * text, kde_KShortcut* cut, qt_QObject * parent, char* name, unsigned int maxItems){
	return (kde_KRecentFilesAction *) new KRecentFilesActionBridge((QString&)* (QString*)text, (KShortcut&)* (KShortcut*)cut, (QObject*)parent, (char*)name, (uint)maxItems);
}
kde_KRecentFilesAction * kde_new_KRecentFilesAction1(qt_QString * text, kde_KShortcut* cut, qt_QObject * receiver, char* slot, qt_QObject * parent, char* name, unsigned int maxItems){
	return (kde_KRecentFilesAction *) new KRecentFilesActionBridge((QString&)* (QString*)text, (KShortcut&)* (KShortcut*)cut, (QObject*)receiver, (char*)slot, (QObject*)parent, (char*)name, (uint)maxItems);
}
kde_KRecentFilesAction * kde_new_KRecentFilesAction2(qt_QString * text, qt_QIconSet* pix, kde_KShortcut* cut, qt_QObject * parent, char* name, unsigned int maxItems){
	return (kde_KRecentFilesAction *) new KRecentFilesActionBridge((QString&)* (QString*)text, (QIconSet&)* (QIconSet*)pix, (KShortcut&)* (KShortcut*)cut, (QObject*)parent, (char*)name, (uint)maxItems);
}
kde_KRecentFilesAction * kde_new_KRecentFilesAction3(qt_QString * text, qt_QString * pix, kde_KShortcut* cut, qt_QObject * parent, char* name, unsigned int maxItems){
	return (kde_KRecentFilesAction *) new KRecentFilesActionBridge((QString&)* (QString*)text, (QString&)* (QString*)pix, (KShortcut&)* (KShortcut*)cut, (QObject*)parent, (char*)name, (uint)maxItems);
}
kde_KRecentFilesAction * kde_new_KRecentFilesAction4(qt_QString * text, qt_QIconSet* pix, kde_KShortcut* cut, qt_QObject * receiver, char* slot, qt_QObject * parent, char* name, unsigned int maxItems){
	return (kde_KRecentFilesAction *) new KRecentFilesActionBridge((QString&)* (QString*)text, (QIconSet&)* (QIconSet*)pix, (KShortcut&)* (KShortcut*)cut, (QObject*)receiver, (char*)slot, (QObject*)parent, (char*)name, (uint)maxItems);
}
kde_KRecentFilesAction * kde_new_KRecentFilesAction5(qt_QString * text, qt_QString * pix, kde_KShortcut* cut, qt_QObject * receiver, char* slot, qt_QObject * parent, char* name, unsigned int maxItems){
	return (kde_KRecentFilesAction *) new KRecentFilesActionBridge((QString&)* (QString*)text, (QString&)* (QString*)pix, (KShortcut&)* (KShortcut*)cut, (QObject*)receiver, (char*)slot, (QObject*)parent, (char*)name, (uint)maxItems);
}
kde_KRecentFilesAction * kde_new_KRecentFilesAction6(qt_QObject * parent, char* name, unsigned int maxItems){
	return (kde_KRecentFilesAction *) new KRecentFilesActionBridge((QObject*)parent, (char*)name, (uint)maxItems);
}
void kde_del_KRecentFilesAction( kde_KRecentFilesAction* p ){
	delete (KRecentFilesActionBridge*) p;
}
unsigned int kde_KRecentFilesAction_maxItems( kde_KRecentFilesAction* instPointer){
	return (unsigned int) ((KRecentFilesActionBridge*)instPointer)->maxItems();
}
void kde_KRecentFilesAction_setMaxItems( kde_KRecentFilesAction* instPointer,unsigned int maxItems){
	((KRecentFilesActionBridge*)instPointer)->setMaxItems((uint)maxItems);
	return;
}
void kde_KRecentFilesAction_loadEntries( kde_KRecentFilesAction* instPointer,kde_KConfig* config, qt_QString * groupname){
	((KRecentFilesActionBridge*)instPointer)->loadEntries((KConfig*)config, (QString)* (QString*)groupname);
	return;
}
void kde_KRecentFilesAction_saveEntries( kde_KRecentFilesAction* instPointer,kde_KConfig* config, qt_QString * groupname){
	((KRecentFilesActionBridge*)instPointer)->saveEntries((KConfig*)config, (QString)* (QString*)groupname);
	return;
}
void kde_KRecentFilesAction_addURL( kde_KRecentFilesAction* instPointer,kde_KURL* url){
	((KRecentFilesActionBridge*)instPointer)->addURL((KURL&)* (KURL*)url);
	return;
}
void kde_KRecentFilesAction_removeURL( kde_KRecentFilesAction* instPointer,kde_KURL* url){
	((KRecentFilesActionBridge*)instPointer)->removeURL((KURL&)* (KURL*)url);
	return;
}
void kde_KRecentFilesAction_clearURLList( kde_KRecentFilesAction* instPointer){
	((KRecentFilesActionBridge*)instPointer)->clearURLList();
	return;
}
void kde_KRecentFilesAction_itemSelected( kde_KRecentFilesAction* instPointer,qt_QString * string){
	((KRecentFilesActionBridge*)instPointer)->protected_itemSelected((QString&)* (QString*)string);
	return;
}
