Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions |

# Compatibility Members for QColorGroup

The following class members are part of the Qt 3 compatibility layer. They are provided to help you port old code to Qt 4. We strongly advise against using them in new code.

QColorGroup class reference

### Public Functions

- const QColor & background () const
- const QColor & base () const
- const QColor & brightText () const
- const QColor & button () const
- const QColor & buttonText () const
- const QColor & dark () const
- const QColor & foreground () const
- const QColor & highlight () const
- const QColor & highlightedText () const
- const QColor & light () const
- const QColor & link () const
- const QColor & linkVisited () const
- const QColor & mid () const
- const QColor & midlight () const
- const QColor & shadow () const
- const QColor & text () const

### Related Non-Members

- QDataStream & operator<< ( QDataStream & ds, const QColorGroup & cg )
- QDataStream & operator>> ( QDataStream & ds, QColorGroup & cg )

## Member Function Documentation

### const QColor & QColorGroup::background () const

### const QColor & QColorGroup::base () const

### const QColor & QColorGroup::brightText () const

### const QColor & QColorGroup::button () const

### const QColor & QColorGroup::buttonText () const

### const QColor & QColorGroup::dark () const

### const QColor & QColorGroup::foreground () const

### const QColor & QColorGroup::highlight () const

### const QColor & QColorGroup::highlightedText () const

### const QColor & QColorGroup::light () const

### const QColor & QColorGroup::link () const

### const QColor & QColorGroup::linkVisited () const

### const QColor & QColorGroup::mid () const

### const QColor & QColorGroup::midlight () const

### const QColor & QColorGroup::shadow () const

### const QColor & QColorGroup::text () const

## Related Non-Members

### QDataStream & operator<< ( QDataStream & ds, const QColorGroup & cg )

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

### QDataStream & operator>> ( QDataStream & ds, QColorGroup & cg )

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.