/***************************************************************************
                            qt_QBrush.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_QBrush.h"
}

#include <qbrush.h>

class QBrushBridge : public QBrush
{
public:
	QBrushBridge() : QBrush() {}
	QBrushBridge(BrushStyle arg1) : QBrush(arg1) {}
	QBrushBridge(const QColor& arg1, BrushStyle arg2) : QBrush(arg1, arg2) {}
	QBrushBridge(const QColor& arg1, const QPixmap& arg2) : QBrush(arg1, arg2) {}
	QBrushBridge(const QBrush& arg1) : QBrush(arg1) {}
	~QBrushBridge() {}
};

qt_QBrush * qt_new_QBrush(){
	return (qt_QBrush *) new QBrushBridge();
}
qt_QBrush * qt_new_QBrush1(int arg1){
	return (qt_QBrush *) new QBrushBridge((Qt::BrushStyle)arg1);
}
qt_QBrush * qt_new_QBrush2(qt_QColor * arg1, int arg2){
	return (qt_QBrush *) new QBrushBridge((QColor&)* (QColor*)arg1, (Qt::BrushStyle)arg2);
}
qt_QBrush * qt_new_QBrush3(qt_QColor * arg1, qt_QPixmap * arg2){
	return (qt_QBrush *) new QBrushBridge((QColor&)* (QColor*)arg1, (QPixmap&)* (QPixmap*)arg2);
}
qt_QBrush * qt_new_QBrush4(qt_QBrush * arg1){
	return (qt_QBrush *) new QBrushBridge((QBrush&)* (QBrush*)arg1);
}
void qt_del_QBrush( qt_QBrush* p ){
	delete (QBrushBridge*) p;
}
int qt_QBrush_style( qt_QBrush* instPointer){
	return (int) ((QBrushBridge*)instPointer)->style();
}
void qt_QBrush_setStyle( qt_QBrush* instPointer,int arg1){
	((QBrushBridge*)instPointer)->setStyle((Qt::BrushStyle)arg1);
	return;
}
qt_QColor * qt_QBrush_color( qt_QBrush* instPointer){
	return (qt_QColor *) (const QColor *)&((QBrushBridge*)instPointer)->color();
}
void qt_QBrush_setColor( qt_QBrush* instPointer,qt_QColor * arg1){
	((QBrushBridge*)instPointer)->setColor((QColor&)* (QColor*)arg1);
	return;
}
qt_QPixmap * qt_QBrush_pixmap( qt_QBrush* instPointer){
	return (qt_QPixmap *) ((QBrushBridge*)instPointer)->pixmap();
}
void qt_QBrush_setPixmap( qt_QBrush* instPointer,qt_QPixmap * arg1){
	((QBrushBridge*)instPointer)->setPixmap((QPixmap&)* (QPixmap*)arg1);
	return;
}
