/***************************************************************************
                            kde_KColorButton.h -  description
                             -------------------
    begin                : Wed Feb  6 15:12:26 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Feb  6 15:12:26 2002, 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.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef KDE_KCOLORBUTTON
#define KDE_KCOLORBUTTON

#include <qtc/qtc_types.h>

#include <kdec/kde_types.h>

/**

 This widget can be used to display or allow user selection of a colour.

 @version $Id: kde_KColorButton.h,v 1.3 2002/02/21 00:43:09 rdale Exp $

 @short A pushbutton to display or allow user selection of a colour.

*/

/** 
 Creates a color button.
	 
*/
kde_KColorButton * kde_new_KColorButton(qt_QWidget * parent, char* name);

/** 
 Creates a color button with an initial color @p c.
	 
*/
kde_KColorButton * kde_new_KColorButton1(qt_QColor * c, qt_QWidget * parent, char* name);

/** 
 Destructor.
	 
*/
void kde_del_KColorButton( kde_KColorButton* p );

/** 
 Returns the currently chosen color.
	 
*/
qt_QColor * kde_KColorButton_color(kde_KColorButton* instPointer);

/** 
 Sets the current color to @p c.
	 
*/
void kde_KColorButton_setColor(kde_KColorButton* instPointer,qt_QColor * c);
void kde_KColorButton_chooseColor(kde_KColorButton* instPointer);

#endif
