/***************************************************************************
                            qt_QActionGroup.cpp -  description
                             -------------------
    begin                : Tue Nov 20 20:51:20 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Nov 20 20:51:20 2001, 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 "qt_QActionGroup.h"
}

#include <qaction.h>

class QActionGroupBridge : public QActionGroup
{
public:
	QActionGroupBridge(QObject* parent, const char* name, bool exclusive) : QActionGroup(parent, name, exclusive) {}
	~QActionGroupBridge() {}
	void protected_addedTo(QWidget* actionWidget, QWidget* container, QAction* a) {
		QActionGroup::addedTo(actionWidget, container, a);
		return;
	}
	void protected_addedTo(int index, QPopupMenu* menu, QAction* a) {
		QActionGroup::addedTo(index, menu, a);
		return;
	}
	void protected_addedTo(QWidget* actionWidget, QWidget* container) {
		QActionGroup::addedTo(actionWidget, container);
		return;
	}
	void protected_addedTo(int index, QPopupMenu* menu) {
		QActionGroup::addedTo(index, menu);
		return;
	}
	void childEvent(QChildEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "childEvent", arg1, "QChildEvent")) {
			QActionGroup::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;
	}
};

qt_QActionGroup * qt_new_QActionGroup(qt_QObject * parent, char* name, int exclusive){
	return (qt_QActionGroup *) new QActionGroupBridge((QObject*)parent, (char*)name, (bool)exclusive);
}
void qt_del_QActionGroup( qt_QActionGroup* p ){
	delete (QActionGroupBridge*) p;
}
void qt_QActionGroup_setExclusive( qt_QActionGroup* instPointer,int arg1){
	((QActionGroupBridge*)instPointer)->setExclusive((bool)arg1);
	return;
}
int qt_QActionGroup_isExclusive( qt_QActionGroup* instPointer){
	return (int) ((QActionGroupBridge*)instPointer)->isExclusive();
}
void qt_QActionGroup_add( qt_QActionGroup* instPointer,qt_QAction* a){
	((QActionGroupBridge*)instPointer)->add((QAction*)a);
	return;
}
void qt_QActionGroup_addSeparator( qt_QActionGroup* instPointer){
	((QActionGroupBridge*)instPointer)->addSeparator();
	return;
}
int qt_QActionGroup_addTo( qt_QActionGroup* instPointer,qt_QWidget * arg1){
	return (int) ((QActionGroupBridge*)instPointer)->addTo((QWidget*)arg1);
}
int qt_QActionGroup_removeFrom( qt_QActionGroup* instPointer,qt_QWidget * arg1){
	return (int) ((QActionGroupBridge*)instPointer)->removeFrom((QWidget*)arg1);
}
void qt_QActionGroup_setEnabled( qt_QActionGroup* instPointer,int arg1){
	((QActionGroupBridge*)instPointer)->setEnabled((bool)arg1);
	return;
}
void qt_QActionGroup_setUsesDropDown( qt_QActionGroup* instPointer,int enable){
	((QActionGroupBridge*)instPointer)->setUsesDropDown((bool)enable);
	return;
}
int qt_QActionGroup_usesDropDown( qt_QActionGroup* instPointer){
	return (int) ((QActionGroupBridge*)instPointer)->usesDropDown();
}
void qt_QActionGroup_setIconSet( qt_QActionGroup* instPointer,qt_QIconSet* arg1){
	((QActionGroupBridge*)instPointer)->setIconSet((QIconSet&)* (QIconSet*)arg1);
	return;
}
void qt_QActionGroup_setText( qt_QActionGroup* instPointer,qt_QString * arg1){
	((QActionGroupBridge*)instPointer)->setText((QString&)* (QString*)arg1);
	return;
}
void qt_QActionGroup_setMenuText( qt_QActionGroup* instPointer,qt_QString * arg1){
	((QActionGroupBridge*)instPointer)->setMenuText((QString&)* (QString*)arg1);
	return;
}
void qt_QActionGroup_setToolTip( qt_QActionGroup* instPointer,qt_QString * arg1){
	((QActionGroupBridge*)instPointer)->setToolTip((QString&)* (QString*)arg1);
	return;
}
void qt_QActionGroup_setWhatsThis( qt_QActionGroup* instPointer,qt_QString * arg1){
	((QActionGroupBridge*)instPointer)->setWhatsThis((QString&)* (QString*)arg1);
	return;
}
void qt_QActionGroup_insert( qt_QActionGroup* instPointer,qt_QAction* a){
	((QActionGroupBridge*)instPointer)->insert((QAction*)a);
	return;
}
void qt_QActionGroup_addedTo( qt_QActionGroup* instPointer,qt_QWidget * actionWidget, qt_QWidget * container, qt_QAction* a){
	((QActionGroupBridge*)instPointer)->protected_addedTo((QWidget*)actionWidget, (QWidget*)container, (QAction*)a);
	return;
}
void qt_QActionGroup_addedTo1( qt_QActionGroup* instPointer,int index, qt_QPopupMenu* menu, qt_QAction* a){
	((QActionGroupBridge*)instPointer)->protected_addedTo((int)index, (QPopupMenu*)menu, (QAction*)a);
	return;
}
void qt_QActionGroup_addedTo2( qt_QActionGroup* instPointer,qt_QWidget * actionWidget, qt_QWidget * container){
	((QActionGroupBridge*)instPointer)->protected_addedTo((QWidget*)actionWidget, (QWidget*)container);
	return;
}
void qt_QActionGroup_addedTo3( qt_QActionGroup* instPointer,int index, qt_QPopupMenu* menu){
	((QActionGroupBridge*)instPointer)->protected_addedTo((int)index, (QPopupMenu*)menu);
	return;
}
