rem: enabled=( selectedArticle && selectedArticle->type()==KNMimeBase::ATlocal );
add: enabled=( selectedArticle && selectedArticle->type()==KMime::Base::ATlocal );
context: void KNMainWindow::slotArticleSelected(QListViewItem *i){  kdDebug(5003) << "KNMainWindow::slotArticleSelected(QListViewItem *i)" << endl;  if(b_lockui)    return;  KNArticle *selectedArticle=0;  if(i)    selectedArticle=(static_cast<KNHdrViewItem*>(i))->art;  a_rtView->setArticle(selectedArticle);  //actions  bool enabled;  enabled=( selectedArticle && selectedArticle->type()==KNMimeBase::ATremote );  if(a_ctArtSetArtRead->isEnabled() != enabled) {    a_ctArtSetArtRead->setEnabled(enabled);    a_ctArtSetArtUnread->setEnabled(enabled);    a_ctArtSetThreadRead->setEnabled(enabled);    a_ctArtSetThreadUnread->setEnabled(enabled);    a_ctArtToggleIgnored->setEnabled(enabled);    a_ctArtToggleWatched->setEnabled(enabled);    a_ctScoreLower->setEnabled(enabled);    a_ctScoreRaise->setEnabled(enabled);  }  a_ctArtOpenNewWindow->setEnabled( selectedArticle && (f_olManager->currentFolder()!=f_olManager->outbox())                                                    && (f_olManager->currentFolder()!=f_olManager->drafts()));  enabled=( selectedArticle && selectedArticle->type()==KNMimeBase::ATlocal );  a_ctArtDelete->setEnabled(enabled);  a_ctArtSendNow->setEnabled(enabled && (f_olManager->currentFolder()==f_olManager->outbox()));  a_ctArtEdit->setEnabled(enabled && ((f_olManager->currentFolder()==f_olManager->outbox())||                                      (f_olManager->currentFolder()==f_olManager->drafts())));}