add: else p->setFont( adapt( p->font(), mItalic, mBold, mStrikeOut ) );
context: void CategoryListViewItem::paintCell( QPainter * p, const QColorGroup & cg, int column, int width, int alignment ) {  QColorGroup _cg = cg;  if ( mHasFont )    p->setFont( mFont );  if ( mForegroundColor.isValid() )    _cg.setColor( QColorGroup::Text, mForegroundColor );  if ( mBackgroundColor.isValid() )    _cg.setColor( QColorGroup::Base, mBackgroundColor );  QListViewItem::paintCell( p, _cg, column, width, alignment );}