rem: if(mMsgBase->isQueued()) pixmaps << *KMHeaders::pixQueued; if(mMsgBase->isSent()) pixmaps << *KMHeaders::pixSent;
add: if ( !headers->mPaintInfo.showWatchedIgnored ) { if ( msgBase->isIgnored() ) pixmaps << *KMHeaders::pixIgnored; if ( msgBase->isWatched() ) pixmaps << *KMHeaders::pixWatched; }
context:   const QPixmap * pixmap( int col) const  {    if(!col) {      KMHeaders *headers = static_cast<KMHeaders*>(listView());      KMMsgBase *mMsgBase = headers->folder()->getMsgBase( mMsgId );      PixmapList pixmaps;      // Have the spam/ham and watched/ignored icons first, I guess.      if(mMsgBase->isSpam()) pixmaps << *KMHeaders::pixSpam;      if(mMsgBase->isHam()) pixmaps << *KMHeaders::pixHam;      if(mMsgBase->isIgnored()) pixmaps << *KMHeaders::pixIgnored;      if(mMsgBase->isWatched()) pixmaps << *KMHeaders::pixWatched;      if(mMsgBase->isQueued()) pixmaps << *KMHeaders::pixQueued;      if(mMsgBase->isSent()) pixmaps << *KMHeaders::pixSent;      if(mMsgBase->isNew()) pixmaps << *KMHeaders::pixNew;      if(mMsgBase->isRead() || mMsgBase->isOld()) pixmaps << *KMHeaders::pixRead;      if(mMsgBase->isUnread()) pixmaps << *KMHeaders::pixUns;      if(mMsgBase->isDeleted()) pixmaps << *KMHeaders::pixDel;      // Only merge the attachment icon in if that is configured.      if( headers->paintInfo()->showAttachmentIcon &&          mMsgBase->attachmentState() == KMMsgHasAttachment )        pixmaps << *KMHeaders::pixAttachment;      // Only merge the crypto icons in if that is configured.      if( headers->paintInfo()->showCryptoIcons ) {          if( mMsgBase->encryptionState() == KMMsgFullyEncrypted )              pixmaps << *KMHeaders::pixFullyEncrypted;          else if( mMsgBase->encryptionState() == KMMsgPartiallyEncrypted )              pixmaps << *KMHeaders::pixPartiallyEncrypted;          else if( mMsgBase->encryptionState() == KMMsgEncryptionStateUnknown )              pixmaps << *KMHeaders::pixUndefinedEncrypted;          else if( mMsgBase->encryptionState() == KMMsgEncryptionProblematic )              pixmaps << *KMHeaders::pixEncryptionProblematic;          if( mMsgBase->signatureState() == KMMsgFullySigned )              pixmaps << *KMHeaders::pixFullySigned;          else if( mMsgBase->signatureState() == KMMsgPartiallySigned )              pixmaps << *KMHeaders::pixPartiallySigned;          else if( mMsgBase->signatureState() == KMMsgSignatureStateUnknown )              pixmaps << *KMHeaders::pixUndefinedSigned;          else if( mMsgBase->signatureState() == KMMsgSignatureProblematic )              pixmaps << *KMHeaders::pixSignatureProblematic;      }      if(mMsgBase->isImportant()) pixmaps << *KMHeaders::pixFlag;      if(mMsgBase->isReplied()) pixmaps << *KMHeaders::pixRep;      if(mMsgBase->isForwarded()) pixmaps << *KMHeaders::pixFwd;      static QPixmap mergedpix;      mergedpix = pixmapMerge( pixmaps );      return &mergedpix;    }    return 0;  }