/***************************************************************************
                            kde_RGBColor.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_RGBCOLOR
#define KDE_RGBCOLOR

#include <qtc/qtc_types.h>

#include <kdec/kde_types.h>

/**

 The <code> RGBColor </code> interface is used to represent any <a
 href="http://www.w3.org/TR/REC-CSS2/syndata.html#value-def-color">
 RGB color </a> value. This interface reflects the values in the
 underlying style property. Hence, modifications made through this
 interface modify the style property.

 
 @short 
 The <code> RGBColor </code> interface is used to represent any <a
 href="http://www.
*/
kde_RGBColor * kde_new_RGBColor();
kde_RGBColor * kde_new_RGBColor1(kde_RGBColor* other);
kde_RGBColor * kde_new_RGBColor2(qt_QColor * color);
void kde_del_RGBColor( kde_RGBColor* p );

/** 
 This attribute is used for the red value of the RGB color.

     
*/
kde_CSSPrimitiveValue* kde_RGBColor_red(kde_RGBColor* instPointer);

/** 
 This attribute is used for the green value of the RGB color.

     
*/
kde_CSSPrimitiveValue* kde_RGBColor_green(kde_RGBColor* instPointer);

/** 
 This attribute is used for the blue value of the RGB color.

     
*/
kde_CSSPrimitiveValue* kde_RGBColor_blue(kde_RGBColor* instPointer);
qt_QColor * kde_RGBColor_color(kde_RGBColor* instPointer);

#endif
