/***************************************************************************
                            kde_KActionCollection.cpp -  description
                             -------------------
    begin                : Tue Mar 19 20:11:49 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Mar 19 20:11:49 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_KActionCollection.h"
}

#include <kaction.h>

class KActionCollectionBridge : public KActionCollection
{
public:
	KActionCollectionBridge(QWidget* parent, const char* name, KInstance* instance) : KActionCollection(parent, name, instance) {}
	KActionCollectionBridge(QWidget* watch, QObject* parent, const char* name, KInstance* instance) : KActionCollection(watch, parent, name, instance) {}
	KActionCollectionBridge(const KActionCollection& copy) : KActionCollection(copy) {}
	~KActionCollectionBridge() {}
	KActionCollectionBridge(QObject* parent, const char* name, KInstance* instance) : KActionCollection(parent, name, instance) {}
	void protected_virtual_hook(int id, void* data) {
		KActionCollection::virtual_hook(id, data);
		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_KActionCollection * kde_new_KActionCollection(qt_QWidget * parent, char* name, kde_KInstance* instance){
	return (kde_KActionCollection *) new KActionCollectionBridge((QWidget*)parent, (char*)name, (KInstance*)instance);
}
kde_KActionCollection * kde_new_KActionCollection1(qt_QWidget * watch, qt_QObject * parent, char* name, kde_KInstance* instance){
	return (kde_KActionCollection *) new KActionCollectionBridge((QWidget*)watch, (QObject*)parent, (char*)name, (KInstance*)instance);
}
kde_KActionCollection * kde_new_KActionCollection2(kde_KActionCollection* copy){
	return (kde_KActionCollection *) new KActionCollectionBridge((KActionCollection&)* (KActionCollection*)copy);
}
void kde_del_KActionCollection( kde_KActionCollection* p ){
	delete (KActionCollectionBridge*) p;
}
void kde_KActionCollection_setWidget( kde_KActionCollection* instPointer,qt_QWidget * widget){
	((KActionCollectionBridge*)instPointer)->setWidget((QWidget*)widget);
	return;
}
kde_KAccel* kde_KActionCollection_accel( kde_KActionCollection* instPointer){
	return (kde_KAccel*) ((KActionCollectionBridge*)instPointer)->accel();
}
kde_KAccel* kde_KActionCollection_accel1( kde_KActionCollection* instPointer){
	return (kde_KAccel*) ((KActionCollectionBridge*)instPointer)->accel();
}
unsigned int kde_KActionCollection_count( kde_KActionCollection* instPointer){
	return (unsigned int) ((KActionCollectionBridge*)instPointer)->count();
}
int kde_KActionCollection_isEmpty( kde_KActionCollection* instPointer){
	return (int) ((KActionCollectionBridge*)instPointer)->isEmpty();
}
kde_KAction* kde_KActionCollection_action( kde_KActionCollection* instPointer,int index){
	return (kde_KAction*) ((KActionCollectionBridge*)instPointer)->action((int)index);
}
kde_KAction* kde_KActionCollection_action1( kde_KActionCollection* instPointer,char* name, char* classname){
	return (kde_KAction*) ((KActionCollectionBridge*)instPointer)->action((char*)name, (char*)classname);
}
qt_QStringList* kde_KActionCollection_groups( kde_KActionCollection* instPointer){
	return (qt_QStringList*)new QStringList(((KActionCollectionBridge*)instPointer)->groups());
}
KActionPtrList kde_KActionCollection_actions( kde_KActionCollection* instPointer,qt_QString * group){
	return (KActionPtrList) ((KActionCollectionBridge*)instPointer)->actions((QString&)* (QString*)group);
}
KActionPtrList kde_KActionCollection_actions1( kde_KActionCollection* instPointer){
	return (KActionPtrList) ((KActionCollectionBridge*)instPointer)->actions();
}
int kde_KActionCollection_readShortcutSettings( kde_KActionCollection* instPointer,qt_QString * sConfigGroup, kde_KConfigBase* pConfig){
	return (int) ((KActionCollectionBridge*)instPointer)->readShortcutSettings((QString&)* (QString*)sConfigGroup, (KConfigBase*)pConfig);
}
int kde_KActionCollection_writeShortcutSettings( kde_KActionCollection* instPointer,qt_QString * sConfigGroup, kde_KConfigBase* pConfig){
	return (int) ((KActionCollectionBridge*)instPointer)->writeShortcutSettings((QString&)* (QString*)sConfigGroup, (KConfigBase*)pConfig);
}
void kde_KActionCollection_setInstance( kde_KActionCollection* instPointer,kde_KInstance* instance){
	((KActionCollectionBridge*)instPointer)->setInstance((KInstance*)instance);
	return;
}
kde_KInstance* kde_KActionCollection_instance( kde_KActionCollection* instPointer){
	return (kde_KInstance*) ((KActionCollectionBridge*)instPointer)->instance();
}
void kde_KActionCollection_setXMLFile( kde_KActionCollection* instPointer,qt_QString * arg1){
	((KActionCollectionBridge*)instPointer)->setXMLFile((QString&)* (QString*)arg1);
	return;
}
qt_QString * kde_KActionCollection_xmlFile( kde_KActionCollection* instPointer){
	return (qt_QString *) (const QString *)&((KActionCollectionBridge*)instPointer)->xmlFile();
}
void kde_KActionCollection_setHighlightingEnabled( kde_KActionCollection* instPointer,int enable){
	((KActionCollectionBridge*)instPointer)->setHighlightingEnabled((bool)enable);
	return;
}
int kde_KActionCollection_highlightingEnabled( kde_KActionCollection* instPointer){
	return (int) ((KActionCollectionBridge*)instPointer)->highlightingEnabled();
}
void kde_KActionCollection_connectHighlight( kde_KActionCollection* instPointer,qt_QWidget * container, kde_KAction* action){
	((KActionCollectionBridge*)instPointer)->connectHighlight((QWidget*)container, (KAction*)action);
	return;
}
void kde_KActionCollection_disconnectHighlight( kde_KActionCollection* instPointer,qt_QWidget * container, kde_KAction* action){
	((KActionCollectionBridge*)instPointer)->disconnectHighlight((QWidget*)container, (KAction*)action);
	return;
}
kde_KActionCollection * kde_new_KActionCollection3(qt_QObject * parent, char* name, kde_KInstance* instance){
	return (kde_KActionCollection *) new KActionCollectionBridge((QObject*)parent, (char*)name, (KInstance*)instance);
}
void kde_KActionCollection_insert( kde_KActionCollection* instPointer,kde_KAction* arg1){
	((KActionCollectionBridge*)instPointer)->insert((KAction*)arg1);
	return;
}
void kde_KActionCollection_remove( kde_KActionCollection* instPointer,kde_KAction* arg1){
	((KActionCollectionBridge*)instPointer)->remove((KAction*)arg1);
	return;
}
kde_KAction* kde_KActionCollection_take( kde_KActionCollection* instPointer,kde_KAction* arg1){
	return (kde_KAction*) ((KActionCollectionBridge*)instPointer)->take((KAction*)arg1);
}
void kde_KActionCollection_clear( kde_KActionCollection* instPointer){
	((KActionCollectionBridge*)instPointer)->clear();
	return;
}
void kde_KActionCollection_virtual_hook( kde_KActionCollection* instPointer,int identifier, void* data){
	((KActionCollectionBridge*)instPointer)->protected_virtual_hook((int)identifier, (void*)data);
	return;
}
