KHTML
DOM::RGBColor Class Reference
TheRGBColor
interface is used to represent any RGB color value.
More...
#include <css_value.h>
Public Member Functions | |
CSSPrimitiveValue | blue () const |
QRgb | color () const |
CSSPrimitiveValue | green () const |
RGBColor & | operator= (const RGBColor &other) |
CSSPrimitiveValue | red () const |
RGBColor (const RGBColor &other) | |
RGBColor (QRgb color) | |
RGBColor (const QColor &c) | |
RGBColor () | |
~RGBColor () | |
Protected Attributes | |
QRgb | m_color |
Detailed Description
TheRGBColor
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 591 of file css_value.h.
Constructor & Destructor Documentation
DOM::RGBColor::RGBColor | ( | ) |
Definition at line 477 of file css_value.cpp.
DOM::RGBColor::RGBColor | ( | const QColor & | c | ) | [inline] |
DOM::RGBColor::RGBColor | ( | QRgb | color | ) |
Definition at line 486 of file css_value.cpp.
DOM::RGBColor::RGBColor | ( | const RGBColor & | other | ) |
Definition at line 481 of file css_value.cpp.
DOM::RGBColor::~RGBColor | ( | ) |
Definition at line 497 of file css_value.cpp.
Member Function Documentation
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.
QRgb DOM::RGBColor::color | ( | ) | const [inline] |
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.
Definition at line 491 of file css_value.cpp.
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.
Member Data Documentation
QRgb DOM::RGBColor::m_color [protected] |
Definition at line 629 of file css_value.h.
The documentation for this class was generated from the following files: