• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KHTML

  • DOM
  • RGBColor
Public Member Functions | Protected Attributes | List of all members
DOM::RGBColor Class Reference

#include <css_value.h>

Public Member Functions

 RGBColor ()
 
 RGBColor (const QColor &c)
 
 RGBColor (QRgb color)
 
 RGBColor (const RGBColor &other)
 
 ~RGBColor ()
 
CSSPrimitiveValue blue () const
 
QRgb color () const
 
CSSPrimitiveValue green () const
 
RGBColor & operator= (const RGBColor &other)
 
CSSPrimitiveValue red () 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 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

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
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:23 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KHTML

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal