/***************************************************************************
                            qt_QColorDialog.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_QColorDialog.h"
}

#include <qcolordialog.h>

qt_QColor * qt_QColorDialog_getColor( qt_QColor * init, qt_QWidget * parent, char* name){
	return (qt_QColor *)new QColor(QColorDialog::getColor((QColor&)* (QColor*)init, (QWidget*)parent, (char*)name));
}
unsigned int qt_QColorDialog_getRgba( unsigned int arg1, int* ok, qt_QWidget * parent, char* name){
	return (unsigned int) QColorDialog::getRgba((QRgb)arg1, (bool*)ok, (QWidget*)parent, (char*)name);
}
int qt_QColorDialog_customCount( ){
	return (int) QColorDialog::customCount();
}
unsigned int qt_QColorDialog_customColor( int arg1){
	return (unsigned int) QColorDialog::customColor((int)arg1);
}
void qt_QColorDialog_setCustomColor( int arg1, unsigned int arg2){
	QColorDialog::setCustomColor((int)arg1, (QRgb)arg2);
	return;
}
