• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

KHTML

DOM::RGBColor

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

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

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 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]

Deprecated:

Definition at line 598 of file css_value.h.

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]

For internal use only.

Definition at line 627 of file css_value.h.

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.

RGBColor & DOM::RGBColor::operator= ( const RGBColor &  other  ) 

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:
  • css_value.h
  • css_value.cpp

KHTML

Skip menu "KHTML"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal