khtml Library API Documentation

DOM::RGBColor Class Reference

The RGBColor interface is used to represent any RGB color value. More...

#include <css_value.h>

List of all members.

Public Member Functions

 RGBColor ()
 RGBColor (const QColor &c)
 RGBColor (QRgb color)
 RGBColor (const RGBColor &other)
RGBColoroperator= (const RGBColor &other)
 ~RGBColor ()
CSSPrimitiveValue red () const
CSSPrimitiveValue green () const
CSSPrimitiveValue blue () const
QRgb color () const

Protected Attributes

QRgb m_color


Detailed Description

The RGBColor interface is used to represent any RGB color value.

This interface reflects the values in the underlying style property. Hence, modifications made through this interface modify the style property.

Definition at line 590 of file css_value.h.


Constructor & Destructor Documentation

DOM::RGBColor::RGBColor const QColor c  )  [inline]
 

Deprecated:

Definition at line 597 of file css_value.h.

References QColor::rgb().


Member Function Documentation

CSSPrimitiveValue DOM::RGBColor::red  )  const
 

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

Definition at line 501 of file css_value.cpp.

References m_color.

Referenced by KJS::DOMRGBColor::getValueProperty().

CSSPrimitiveValue DOM::RGBColor::green  )  const
 

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

Definition at line 506 of file css_value.cpp.

References m_color.

Referenced by KJS::DOMRGBColor::getValueProperty().

CSSPrimitiveValue DOM::RGBColor::blue  )  const
 

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

Definition at line 511 of file css_value.cpp.

References m_color.

Referenced by KJS::DOMRGBColor::getValueProperty().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for khtml Library Version 3.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Sep 16 07:12:00 2005 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003