rendered paste bodyvoid ColorListViewItem::paintCell( QPainter *p, const QColorGroup &cg,
int column, int width, int alignment )
{
QColorGroup _cg( cg );
QColor c1 = _cg.text();
QColor c2 = _cg.base();
// text_color and background_color are variables stored locally in the derived
// ColorListViewItem class
_cg.setColor( QColorGroup::Text, text_color );
_cg.setColor( QColorGroup::Base, background_color );
QListViewItem::paintCell( p, _cg, column, width, alignment );
_cg.setColor( QColorGroup::Text, c1 );
_cg.setColor( QColorGroup::Base, c2 );
}