/***************************************************************************
                            qt_QHBoxLayout.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_QHBoxLayout.h"
}

#include <qlayout.h>

class QHBoxLayoutBridge : public QHBoxLayout
{
public:
	QHBoxLayoutBridge(QWidget* parent, int border, int spacing, const char* name) : QHBoxLayout(parent, border, spacing, name) {}
	QHBoxLayoutBridge(QLayout* parentLayout, int spacing, const char* name) : QHBoxLayout(parentLayout, spacing, name) {}
	QHBoxLayoutBridge(int spacing, const char* name) : QHBoxLayout(spacing, name) {}
	~QHBoxLayoutBridge() {}
	void childEvent(QChildEvent* e) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "childEvent", e, "QChildEvent")) {
			QLayout::childEvent(e);
		}
		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_QHBoxLayout * qt_new_QHBoxLayout(qt_QWidget * parent, int border, int spacing, char* name){
	return (qt_QHBoxLayout *) new QHBoxLayoutBridge((QWidget*)parent, (int)border, (int)spacing, (char*)name);
}
qt_QHBoxLayout * qt_new_QHBoxLayout1(qt_QLayout * parentLayout, int spacing, char* name){
	return (qt_QHBoxLayout *) new QHBoxLayoutBridge((QLayout*)parentLayout, (int)spacing, (char*)name);
}
qt_QHBoxLayout * qt_new_QHBoxLayout2(int spacing, char* name){
	return (qt_QHBoxLayout *) new QHBoxLayoutBridge((int)spacing, (char*)name);
}
void qt_del_QHBoxLayout( qt_QHBoxLayout* p ){
	delete (QHBoxLayoutBridge*) p;
}
