/***************************************************************************
                            qt_QButtonGroup.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_QButtonGroup.h"
}

#include <qbuttongroup.h>

class QButtonGroupBridge : public QButtonGroup
{
public:
	QButtonGroupBridge(QWidget* parent, const char* name) : QButtonGroup(parent, name) {}
	QButtonGroupBridge(const QString& title, QWidget* parent, const char* name) : QButtonGroup(title, parent, name) {}
	QButtonGroupBridge(int columns, Orientation o, QWidget* parent, const char* name) : QButtonGroup(columns, o, parent, name) {}
	QButtonGroupBridge(int columns, Orientation o, const QString& title, QWidget* parent, const char* name) : QButtonGroup(columns, o, title, parent, name) {}
	~QButtonGroupBridge() {}
	void protected_buttonPressed() {
		QButtonGroup::buttonPressed();
		return;
	}
	void protected_buttonReleased() {
		QButtonGroup::buttonReleased();
		return;
	}
	void protected_buttonClicked() {
		QButtonGroup::buttonClicked();
		return;
	}
	void protected_buttonToggled(bool on) {
		QButtonGroup::buttonToggled(on);
		return;
	}
	void enterEvent(QEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "enterEvent", arg1, "QEvent")) {
			QWidget::enterEvent(arg1);
		}
		return;
	}
	void focusInEvent(QFocusEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "focusInEvent", arg1, "QFocusEvent")) {
			QGroupBox::focusInEvent(arg1);
		}
		return;
	}
	void imEndEvent(QIMEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "imEndEvent", arg1, "QIMEvent")) {
			QWidget::imEndEvent(arg1);
		}
		return;
	}
	void keyPressEvent(QKeyEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "keyPressEvent", arg1, "QKeyEvent")) {
			QWidget::keyPressEvent(arg1);
		}
		return;
	}
	void keyReleaseEvent(QKeyEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "keyReleaseEvent", arg1, "QKeyEvent")) {
			QWidget::keyReleaseEvent(arg1);
		}
		return;
	}
	void dropEvent(QDropEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "dropEvent", arg1, "QDropEvent")) {
			QWidget::dropEvent(arg1);
		}
		return;
	}
	void focusOutEvent(QFocusEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "focusOutEvent", arg1, "QFocusEvent")) {
			QWidget::focusOutEvent(arg1);
		}
		return;
	}
	void childEvent(QChildEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "childEvent", arg1, "QChildEvent")) {
			QGroupBox::childEvent(arg1);
		}
		return;
	}
	void dragMoveEvent(QDragMoveEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "dragMoveEvent", arg1, "QDragMoveEvent")) {
			QWidget::dragMoveEvent(arg1);
		}
		return;
	}
	void leaveEvent(QEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "leaveEvent", arg1, "QEvent")) {
			QWidget::leaveEvent(arg1);
		}
		return;
	}
	void dragEnterEvent(QDragEnterEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "dragEnterEvent", arg1, "QDragEnterEvent")) {
			QWidget::dragEnterEvent(arg1);
		}
		return;
	}
	void tabletEvent(QTabletEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "tabletEvent", arg1, "QTabletEvent")) {
			QWidget::tabletEvent(arg1);
		}
		return;
	}
	void mouseMoveEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "mouseMoveEvent", arg1, "QMouseEvent")) {
			QWidget::mouseMoveEvent(arg1);
		}
		return;
	}
	void showEvent(QShowEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "showEvent", arg1, "QShowEvent")) {
			QWidget::showEvent(arg1);
		}
		return;
	}
	void moveEvent(QMoveEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "moveEvent", arg1, "QMoveEvent")) {
			QWidget::moveEvent(arg1);
		}
		return;
	}
	void wheelEvent(QWheelEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "wheelEvent", arg1, "QWheelEvent")) {
			QWidget::wheelEvent(arg1);
		}
		return;
	}
	void hideEvent(QHideEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "hideEvent", arg1, "QHideEvent")) {
			QWidget::hideEvent(arg1);
		}
		return;
	}
	void contextMenuEvent(QContextMenuEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "contextMenuEvent", arg1, "QContextMenuEvent")) {
			QWidget::contextMenuEvent(arg1);
		}
		return;
	}
	void mousePressEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "mousePressEvent", arg1, "QMouseEvent")) {
			QWidget::mousePressEvent(arg1);
		}
		return;
	}
	void imStartEvent(QIMEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "imStartEvent", arg1, "QIMEvent")) {
			QWidget::imStartEvent(arg1);
		}
		return;
	}
	void imComposeEvent(QIMEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "imComposeEvent", arg1, "QIMEvent")) {
			QWidget::imComposeEvent(arg1);
		}
		return;
	}
	void customEvent(QCustomEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "customEvent", arg1, "QCustomEvent")) {
			QObject::customEvent(arg1);
		}
		return;
	}
	void mouseReleaseEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "mouseReleaseEvent", arg1, "QMouseEvent")) {
			QWidget::mouseReleaseEvent(arg1);
		}
		return;
	}
	void closeEvent(QCloseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "closeEvent", arg1, "QCloseEvent")) {
			QWidget::closeEvent(arg1);
		}
		return;
	}
	void paintEvent(QPaintEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "paintEvent", arg1, "QPaintEvent")) {
			QGroupBox::paintEvent(arg1);
		}
		return;
	}
	void timerEvent(QTimerEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "timerEvent", arg1, "QTimerEvent")) {
			QObject::timerEvent(arg1);
		}
		return;
	}
	void mouseDoubleClickEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "mouseDoubleClickEvent", arg1, "QMouseEvent")) {
			QWidget::mouseDoubleClickEvent(arg1);
		}
		return;
	}
	void dragLeaveEvent(QDragLeaveEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "dragLeaveEvent", arg1, "QDragLeaveEvent")) {
			QWidget::dragLeaveEvent(arg1);
		}
		return;
	}
	void resizeEvent(QResizeEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "resizeEvent", arg1, "QResizeEvent")) {
			QGroupBox::resizeEvent(arg1);
		}
		return;
	}
};

qt_QButtonGroup * qt_new_QButtonGroup(qt_QWidget * parent, char* name){
	return (qt_QButtonGroup *) new QButtonGroupBridge((QWidget*)parent, (char*)name);
}
qt_QButtonGroup * qt_new_QButtonGroup1(qt_QString * title, qt_QWidget * parent, char* name){
	return (qt_QButtonGroup *) new QButtonGroupBridge((QString&)* (QString*)title, (QWidget*)parent, (char*)name);
}
qt_QButtonGroup * qt_new_QButtonGroup2(int columns, int o, qt_QWidget * parent, char* name){
	return (qt_QButtonGroup *) new QButtonGroupBridge((int)columns, (Qt::Orientation)o, (QWidget*)parent, (char*)name);
}
qt_QButtonGroup * qt_new_QButtonGroup3(int columns, int o, qt_QString * title, qt_QWidget * parent, char* name){
	return (qt_QButtonGroup *) new QButtonGroupBridge((int)columns, (Qt::Orientation)o, (QString&)* (QString*)title, (QWidget*)parent, (char*)name);
}
void qt_del_QButtonGroup( qt_QButtonGroup* p ){
	delete (QButtonGroupBridge*) p;
}
int qt_QButtonGroup_isExclusive( qt_QButtonGroup* instPointer){
	return (int) ((QButtonGroupBridge*)instPointer)->isExclusive();
}
int qt_QButtonGroup_isRadioButtonExclusive( qt_QButtonGroup* instPointer){
	return (int) ((QButtonGroupBridge*)instPointer)->isRadioButtonExclusive();
}
void qt_QButtonGroup_setExclusive( qt_QButtonGroup* instPointer,int arg1){
	((QButtonGroupBridge*)instPointer)->setExclusive((bool)arg1);
	return;
}
void qt_QButtonGroup_setRadioButtonExclusive( qt_QButtonGroup* instPointer,int arg1){
	((QButtonGroupBridge*)instPointer)->setRadioButtonExclusive((bool)arg1);
	return;
}
int qt_QButtonGroup_insert( qt_QButtonGroup* instPointer,qt_QButton * arg1, int identifier){
	return (int) ((QButtonGroupBridge*)instPointer)->insert((QButton*)arg1, (int)identifier);
}
void qt_QButtonGroup_remove( qt_QButtonGroup* instPointer,qt_QButton * arg1){
	((QButtonGroupBridge*)instPointer)->remove((QButton*)arg1);
	return;
}
qt_QButton * qt_QButtonGroup_find( qt_QButtonGroup* instPointer,int identifier){
	return (qt_QButton *) ((QButtonGroupBridge*)instPointer)->find((int)identifier);
}
int qt_QButtonGroup_id( qt_QButtonGroup* instPointer,qt_QButton * arg1){
	return (int) ((QButtonGroupBridge*)instPointer)->id((QButton*)arg1);
}
int qt_QButtonGroup_count( qt_QButtonGroup* instPointer){
	return (int) ((QButtonGroupBridge*)instPointer)->count();
}
void qt_QButtonGroup_setButton( qt_QButtonGroup* instPointer,int identifier){
	((QButtonGroupBridge*)instPointer)->setButton((int)identifier);
	return;
}
void qt_QButtonGroup_moveFocus( qt_QButtonGroup* instPointer,int arg1){
	((QButtonGroupBridge*)instPointer)->moveFocus((int)arg1);
	return;
}
qt_QButton * qt_QButtonGroup_selected( qt_QButtonGroup* instPointer){
	return (qt_QButton *) ((QButtonGroupBridge*)instPointer)->selected();
}
void qt_QButtonGroup_buttonPressed( qt_QButtonGroup* instPointer){
	((QButtonGroupBridge*)instPointer)->protected_buttonPressed();
	return;
}
void qt_QButtonGroup_buttonReleased( qt_QButtonGroup* instPointer){
	((QButtonGroupBridge*)instPointer)->protected_buttonReleased();
	return;
}
void qt_QButtonGroup_buttonClicked( qt_QButtonGroup* instPointer){
	((QButtonGroupBridge*)instPointer)->protected_buttonClicked();
	return;
}
void qt_QButtonGroup_buttonToggled( qt_QButtonGroup* instPointer,int on){
	((QButtonGroupBridge*)instPointer)->protected_buttonToggled((bool)on);
	return;
}
