/***************************************************************************
                            qt_QColorGroup.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_QColorGroup.h"
}

#include <qpalette.h>

class QColorGroupBridge : public QColorGroup
{
public:
	QColorGroupBridge() : QColorGroup() {}
	QColorGroupBridge(const QColor& foreground, const QColor& button, const QColor& light, const QColor& dark, const QColor& mid, const QColor& text, const QColor& base) : QColorGroup(foreground, button, light, dark, mid, text, base) {}
	QColorGroupBridge(const QBrush& foreground, const QBrush& button, const QBrush& light, const QBrush& dark, const QBrush& mid, const QBrush& text, const QBrush& bright_text, const QBrush& base, const QBrush& background) : QColorGroup(foreground, button, light, dark, mid, text, bright_text, base, background) {}
	QColorGroupBridge(const QColorGroup& arg1) : QColorGroup(arg1) {}
	~QColorGroupBridge() {}
};

qt_QColorGroup * qt_new_QColorGroup(){
	return (qt_QColorGroup *) new QColorGroupBridge();
}
qt_QColorGroup * qt_new_QColorGroup1(qt_QColor * foreground, qt_QColor * button, qt_QColor * light, qt_QColor * dark, qt_QColor * mid, qt_QColor * text, qt_QColor * base){
	return (qt_QColorGroup *) new QColorGroupBridge((QColor&)* (QColor*)foreground, (QColor&)* (QColor*)button, (QColor&)* (QColor*)light, (QColor&)* (QColor*)dark, (QColor&)* (QColor*)mid, (QColor&)* (QColor*)text, (QColor&)* (QColor*)base);
}
qt_QColorGroup * qt_new_QColorGroup2(qt_QBrush * foreground, qt_QBrush * button, qt_QBrush * light, qt_QBrush * dark, qt_QBrush * mid, qt_QBrush * text, qt_QBrush * bright_text, qt_QBrush * base, qt_QBrush * background){
	return (qt_QColorGroup *) new QColorGroupBridge((QBrush&)* (QBrush*)foreground, (QBrush&)* (QBrush*)button, (QBrush&)* (QBrush*)light, (QBrush&)* (QBrush*)dark, (QBrush&)* (QBrush*)mid, (QBrush&)* (QBrush*)text, (QBrush&)* (QBrush*)bright_text, (QBrush&)* (QBrush*)base, (QBrush&)* (QBrush*)background);
}
qt_QColorGroup * qt_new_QColorGroup3(qt_QColorGroup * arg1){
	return (qt_QColorGroup *) new QColorGroupBridge((QColorGroup&)* (QColorGroup*)arg1);
}
void qt_del_QColorGroup( qt_QColorGroup* p ){
	delete (QColorGroupBridge*) p;
}
qt_QColor * qt_QColorGroup_color( qt_QColorGroup* instPointer,int arg1){
	return (qt_QColor *) (const QColor *)&((QColorGroupBridge*)instPointer)->color((QColorGroup::ColorRole)arg1);
}
qt_QBrush * qt_QColorGroup_brush( qt_QColorGroup* instPointer,int arg1){
	return (qt_QBrush *) (const QBrush *)&((QColorGroupBridge*)instPointer)->brush((QColorGroup::ColorRole)arg1);
}
void qt_QColorGroup_setColor( qt_QColorGroup* instPointer,int arg1, qt_QColor * arg2){
	((QColorGroupBridge*)instPointer)->setColor((QColorGroup::ColorRole)arg1, (QColor&)* (QColor*)arg2);
	return;
}
void qt_QColorGroup_setBrush( qt_QColorGroup* instPointer,int arg1, qt_QBrush * arg2){
	((QColorGroupBridge*)instPointer)->setBrush((QColorGroup::ColorRole)arg1, (QBrush&)* (QBrush*)arg2);
	return;
}
qt_QColor * qt_QColorGroup_foreground( qt_QColorGroup* instPointer){
	return (qt_QColor *) (const QColor *)&((QColorGroupBridge*)instPointer)->foreground();
}
qt_QColor * qt_QColorGroup_button( qt_QColorGroup* instPointer){
	return (qt_QColor *) (const QColor *)&((QColorGroupBridge*)instPointer)->button();
}
qt_QColor * qt_QColorGroup_light( qt_QColorGroup* instPointer){
	return (qt_QColor *) (const QColor *)&((QColorGroupBridge*)instPointer)->light();
}
qt_QColor * qt_QColorGroup_dark( qt_QColorGroup* instPointer){
	return (qt_QColor *) (const QColor *)&((QColorGroupBridge*)instPointer)->dark();
}
qt_QColor * qt_QColorGroup_mid( qt_QColorGroup* instPointer){
	return (qt_QColor *) (const QColor *)&((QColorGroupBridge*)instPointer)->mid();
}
qt_QColor * qt_QColorGroup_text( qt_QColorGroup* instPointer){
	return (qt_QColor *) (const QColor *)&((QColorGroupBridge*)instPointer)->text();
}
qt_QColor * qt_QColorGroup_base( qt_QColorGroup* instPointer){
	return (qt_QColor *) (const QColor *)&((QColorGroupBridge*)instPointer)->base();
}
qt_QColor * qt_QColorGroup_background( qt_QColorGroup* instPointer){
	return (qt_QColor *) (const QColor *)&((QColorGroupBridge*)instPointer)->background();
}
qt_QColor * qt_QColorGroup_midlight( qt_QColorGroup* instPointer){
	return (qt_QColor *) (const QColor *)&((QColorGroupBridge*)instPointer)->midlight();
}
qt_QColor * qt_QColorGroup_brightText( qt_QColorGroup* instPointer){
	return (qt_QColor *) (const QColor *)&((QColorGroupBridge*)instPointer)->brightText();
}
qt_QColor * qt_QColorGroup_buttonText( qt_QColorGroup* instPointer){
	return (qt_QColor *) (const QColor *)&((QColorGroupBridge*)instPointer)->buttonText();
}
qt_QColor * qt_QColorGroup_shadow( qt_QColorGroup* instPointer){
	return (qt_QColor *) (const QColor *)&((QColorGroupBridge*)instPointer)->shadow();
}
qt_QColor * qt_QColorGroup_highlight( qt_QColorGroup* instPointer){
	return (qt_QColor *) (const QColor *)&((QColorGroupBridge*)instPointer)->highlight();
}
qt_QColor * qt_QColorGroup_highlightedText( qt_QColorGroup* instPointer){
	return (qt_QColor *) (const QColor *)&((QColorGroupBridge*)instPointer)->highlightedText();
}
qt_QColor * qt_QColorGroup_link( qt_QColorGroup* instPointer){
	return (qt_QColor *) (const QColor *)&((QColorGroupBridge*)instPointer)->link();
}
qt_QColor * qt_QColorGroup_linkVisited( qt_QColorGroup* instPointer){
	return (qt_QColor *) (const QColor *)&((QColorGroupBridge*)instPointer)->linkVisited();
}
