• Skip to content
  • Skip to link menu
KDE 4.3 API Reference
  • KDE API Reference
  • kdelibs
  • 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 587 of file css_value.h.


Constructor & Destructor Documentation

DOM::RGBColor::RGBColor (  ) 

Definition at line 447 of file css_value.cpp.

DOM::RGBColor::RGBColor ( const QColor &  c  )  [inline]
Deprecated:

Definition at line 594 of file css_value.h.

DOM::RGBColor::RGBColor ( QRgb  color  ) 

Definition at line 456 of file css_value.cpp.

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

Definition at line 451 of file css_value.cpp.

DOM::RGBColor::~RGBColor (  ) 

Definition at line 467 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 481 of file css_value.cpp.

QRgb DOM::RGBColor::color (  )  const [inline]

For internal use only.

Definition at line 623 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 476 of file css_value.cpp.

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

Definition at line 461 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 471 of file css_value.cpp.


Member Data Documentation

QRgb DOM::RGBColor::m_color [protected]

Definition at line 625 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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
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