rem: a_ctFolEmpty              = new KAction(i18n("&Empty Folder..."), 0, this,
add: a_ctFolEmpty              = new KAction(i18n("&Empty Folder"), 0, this,
context: void KNMainWindow::initActions(){  a_ccel=new KAccel(this);  a_rtView->setCharsetKeyboardAction()->plugAccel(a_ccel);  //navigation  a_ctNavNextArt            = new KAction(i18n("&Next Article"), "next", Key_N , this,                              SLOT(slotNavNextArt()), actionCollection(), "go_nextArticle");  a_ctNavPrevArt            = new KAction(i18n("&Previous Article"), "previous", Key_B , this,                              SLOT(slotNavPrevArt()), actionCollection(), "go_prevArticle");  a_ctNavNextUnreadArt      = new KAction(i18n("Next Unread &Article"), "1rightarrow", ALT+Key_Space , this,                              SLOT(slotNavNextUnreadArt()), actionCollection(), "go_nextUnreadArticle");  a_ctNavNextUnreadThread   = new KAction(i18n("Next Unread &Thread"),"2rightarrow", CTRL+Key_Space , this,                              SLOT(slotNavNextUnreadThread()), actionCollection(), "go_nextUnreadThread");  a_ctNavNextGroup          = new KAction(i18n("Ne&xt Group"), "down", Key_Plus , this,                              SLOT(slotNavNextGroup()), actionCollection(), "go_nextGroup");  a_ctNavPrevGroup          = new KAction(i18n("Pre&vious Group"), "up", Key_Minus , this,                              SLOT(slotNavPrevGroup()), actionCollection(), "go_prevGroup");  a_ctNavReadThrough        = new KAction(i18n("Read &Through Articles"), Key_Space , this,                              SLOT(slotNavReadThrough()), actionCollection(), "go_readThrough");  a_ctNavReadThrough->plugAccel(a_ccel);  //collection-view - accounts  a_ctAccProperties         = new KAction(i18n("Account &Properties..."), "configure", 0, this,                              SLOT(slotAccProperties()), actionCollection(), "account_properties");  a_ctAccRename             = new KAction(i18n("&Rename Account"), "text", 0, this,                              SLOT(slotAccRename()), actionCollection(), "account_rename");  a_ctAccSubscribe          = new KAction(i18n("&Subscribe to Newsgroups..."), "news_subscribe", 0, this,                              SLOT(slotAccSubscribe()), actionCollection(), "account_subscribe");  a_ctAccExpireAll          = new KAction(i18n("&Expire All Groups"), 0, this,                              SLOT(slotAccExpireAll()), actionCollection(), "account_expire_all");  a_ctAccGetNewHdrs         = new KAction(i18n("&Get New Articles in All Groups"), "mail_get", 0, this,                              SLOT(slotAccGetNewHdrs()), actionCollection(), "account_dnlHeaders");  a_ctAccDelete             = new KAction(i18n("&Delete Account"), "editdelete", 0, this,                              SLOT(slotAccDelete()), actionCollection(), "account_delete");  a_ctAccPostNewArticle     = new KAction(i18n("&Post to Newsgroup..."), "filenew", Key_P , this,                              SLOT(slotAccPostNewArticle()), actionCollection(), "article_postNew");  //collection-view - groups  a_ctGrpProperties         = new KAction(i18n("Group &Properties..."), "configure", 0, this,                              SLOT(slotGrpProperties()), actionCollection(), "group_properties");  a_ctGrpRename             = new KAction(i18n("&Rename Group"), "text", 0, this,                              SLOT(slotGrpRename()), actionCollection(), "group_rename");  a_ctGrpGetNewHdrs         = new KAction(i18n("&Get New Articles"), "mail_get" , 0, this,                              SLOT(slotGrpGetNewHdrs()), actionCollection(), "group_dnlHeaders");  a_ctGrpExpire             = new KAction(i18n("E&xpire Group"), "wizard", 0, this,                              SLOT(slotGrpExpire()), actionCollection(), "group_expire");  a_ctGrpReorganize         = new KAction(i18n("Re&organize Group"), 0, this,                              SLOT(slotGrpReorganize()), actionCollection(), "group_reorg");  a_ctGrpUnsubscribe        = new KAction(i18n("&Unsubscribe from Group"), "news_unsubscribe", 0, this,                              SLOT(slotGrpUnsubscribe()), actionCollection(), "group_unsubscribe");  a_ctGrpSetAllRead         = new KAction(i18n("Mark All as &Read"), "goto", 0, this,                              SLOT(slotGrpSetAllRead()), actionCollection(), "group_allRead");  a_ctGrpSetAllUnread       = new KAction(i18n("Mark All as U&nread"), 0, this,                              SLOT(slotGrpSetAllUnread()), actionCollection(), "group_allUnread");  a_ctGrpSetUnread          = new KAction(i18n("Mark Last as U&nread..."), 0, this,                              SLOT(slotGrpSetUnread()), actionCollection(), "group_unread");  //collection-view - folder  a_ctFolNew                = new KAction(i18n("&New Folder"), "folder_new", 0, this,                              SLOT(slotFolNew()), actionCollection(), "folder_new");  a_ctFolNewChild           = new KAction(i18n("New &Subfolder"), "folder_new", 0, this,                              SLOT(slotFolNewChild()), actionCollection(), "folder_newChild");  a_ctFolDelete             = new KAction(i18n("&Delete Folder..."), "editdelete", 0, this,                              SLOT(slotFolDelete()), actionCollection(), "folder_delete");  a_ctFolRename             = new KAction(i18n("&Rename Folder"), "text", 0, this,                              SLOT(slotFolRename()), actionCollection(), "folder_rename");  a_ctFolCompact            = new KAction(i18n("C&ompact Folder"), "wizard", 0, this,                              SLOT(slotFolCompact()), actionCollection(), "folder_compact");  a_ctFolCompactAll         = new KAction(i18n("Co&mpact All Folders"), 0, this,                              SLOT(slotFolCompactAll()), actionCollection(), "folder_compact_all");  a_ctFolEmpty              = new KAction(i18n("&Empty Folder..."), 0, this,                              SLOT(slotFolEmpty()), actionCollection(), "folder_empty");  a_ctFolMboxImport         = new KAction(i18n("&Import MBox Folder..."), 0, this,                              SLOT(slotFolMBoxImport()), actionCollection(), "folder_MboxImport");  a_ctFolMboxExport         = new KAction(i18n("E&xport as MBox Folder..."), 0, this,                              SLOT(slotFolMBoxExport()), actionCollection(), "folder_MboxExport");  //header-view - list-handling  a_ctArtSortHeaders        = new KSelectAction(i18n("S&ort"), 0, actionCollection(), "view_Sort");  QStringList items;  items += i18n("By &Subject");  items += i18n("By S&ender");  items += i18n("By S&core");  items += i18n("By &Lines");  items += i18n("By &Date");  a_ctArtSortHeaders->setItems(items);  a_ctArtSortHeaders->setShortcutConfigurable(false);  connect(a_ctArtSortHeaders, SIGNAL(activated(int)), this, SLOT(slotArtSortHeaders(int)));  a_ctArtSortHeadersKeyb   = new KAction(i18n("Sort"), QString::null, Key_F7 , this,                             SLOT(slotArtSortHeadersKeyb()), actionCollection(), "view_Sort_Keyb");  a_ctArtSortHeadersKeyb->plugAccel(a_ccel);  a_ctArtFilter             = new KNFilterSelectAction(i18n("&Filter"), "filter",                              actionCollection(), "view_Filter");  a_ctArtFilter->setShortcutConfigurable(false);  a_ctArtFilterKeyb         = new KAction(i18n("Filter"), Key_F6, actionCollection(), "view_Filter_Keyb");  a_ctArtFilterKeyb->plugAccel(a_ccel);  a_ctArtSearch             = new KAction(i18n("&Search Articles..."),"find" , Key_F4 , this,                              SLOT(slotArtSearch()), actionCollection(), "article_search");  a_ctArtFind               = new KAction(i18n("F&ind in Article..."),KStdAccel::shortcut(KStdAccel::Find) , this,                              SLOT(slotArtFind()), actionCollection(), "find_in_article");  a_ctArtRefreshList        = new KAction(i18n("&Refresh List"),"reload", KStdAccel::shortcut(KStdAccel::Reload), this,                              SLOT(slotArtRefreshList()), actionCollection(), "view_Refresh");  a_ctArtCollapseAll        = new KAction(i18n("&Collapse All Threads"), 0 , this,                              SLOT(slotArtCollapseAll()), actionCollection(), "view_CollapseAll");  a_ctArtExpandAll          = new KAction(i18n("E&xpand All Threads"), 0 , this,                              SLOT(slotArtExpandAll()), actionCollection(), "view_ExpandAll");  a_ctArtToggleThread       = new KAction(i18n("&Toggle Subthread"), Key_T, this,                              SLOT(slotArtToggleThread()), actionCollection(), "thread_toggle");  a_ctArtToggleShowThreads  = new KToggleAction(i18n("Show T&hreads"), 0 , this,                              SLOT(slotArtToggleShowThreads()), actionCollection(), "view_showThreads");  a_ctArtToggleShowThreads->setChecked(c_fgManager->readNewsGeneral()->showThreads());  //header-view - remote articles  a_ctArtSetArtRead         = new KAction(i18n("Mark as &Read"), Key_D , this,                              SLOT(slotArtSetArtRead()), actionCollection(), "article_read");  a_ctArtSetArtUnread       = new KAction(i18n("Mar&k as Unread"), Key_U , this,                              SLOT(slotArtSetArtUnread()), actionCollection(), "article_unread");  a_ctArtSetThreadRead      = new KAction(i18n("Mark &Thread as Read"), CTRL+Key_D , this,                              SLOT(slotArtSetThreadRead()), actionCollection(), "thread_read");  a_ctArtSetThreadUnread    = new KAction(i18n("Mark T&hread as Unread"), CTRL+Key_U , this,                              SLOT(slotArtSetThreadUnread()), actionCollection(), "thread_unread");  a_ctArtOpenNewWindow      = new KAction(i18n("Open in own &Window"), "window_new", Key_O , this,                              SLOT(slotArtOpenNewWindow()), actionCollection(), "article_ownWindow");  // scoring  a_ctScoresEdit            = new KAction(i18n("&Edit Scoring Rules..."), "edit", CTRL+Key_E, this,                              SLOT(slotScoreEdit()), actionCollection(), "scoreedit");  a_ctReScore               = new KAction(i18n("Recalculate &Scores"), 0, this,                              SLOT(slotReScore()),actionCollection(),"rescore");  a_ctScoreLower            = new KAction(i18n("&Lower Score for Author..."), CTRL+Key_L, this,                              SLOT(slotScoreLower()), actionCollection(), "scorelower");  a_ctScoreRaise            = new KAction(i18n("&Raise Score for Author..."), CTRL+Key_I, this,                              SLOT(slotScoreRaise()),actionCollection(),"scoreraise");  a_ctArtToggleIgnored      = new KAction(i18n("&Ignore Thread"), "bottom", Key_I , this,                              SLOT(slotArtToggleIgnored()), actionCollection(), "thread_ignore");  a_ctArtToggleWatched      = new KAction(i18n("&Watch Thread"), "top", Key_W , this,                              SLOT(slotArtToggleWatched()), actionCollection(), "thread_watch");  //header-view local articles  a_ctArtSendOutbox         = new KAction(i18n("Sen&d Pending Messages"), "mail_send", 0, this,                              SLOT(slotArtSendOutbox()), actionCollection(), "net_sendPending");  a_ctArtDelete             = new KAction(i18n("&Delete Article"), "editdelete", Key_Delete, this,                              SLOT(slotArtDelete()), actionCollection(), "article_delete");  a_ctArtSendNow            = new KAction(i18n("Send &Now"),"mail_send", 0 , this,                              SLOT(slotArtSendNow()), actionCollection(), "article_sendNow");  a_ctArtEdit               = new KAction(i18n("edit article","&Edit Article..."), "edit", Key_E , this,                              SLOT(slotArtEdit()), actionCollection(), "article_edit");  //network  a_ctNetCancel             = new KAction(i18n("Stop &Network"),"stop",0, this,                              SLOT(slotNetCancel()), actionCollection(), "net_stop");  a_ctNetCancel->setEnabled(false);  a_ctFetchArticleWithID    = new KAction(i18n("&Fetch Article with ID..."), 0, this,                              SLOT(slotFetchArticleWithID()), actionCollection(), "fetch_article_with_id");  a_ctFetchArticleWithID->setEnabled(false);  //config stuff  KStdAction::quit(kapp, SLOT(closeAllWindows()), actionCollection());  KStdAction::keyBindings(this, SLOT(slotConfKeys()), actionCollection());  KStdAction::configureToolbars(this, SLOT(slotConfToolbar()), actionCollection());  KStdAction::preferences(this, SLOT(slotSettings()), actionCollection());  a_ctWinToggleToolbar       = KStdAction::showToolbar(this, SLOT(slotWinToggleToolbar()), actionCollection());  a_ctWinToggleStatusbar     = KStdAction::showStatusbar(this, SLOT(slotWinToggleStatusbar()), actionCollection());  a_ctToggleGroupView        = new KToggleAction(i18n("Show &Group View"), CTRL+Key_G, this,                               SLOT(slotToggleGroupView()), actionCollection(), "settings_show_groupView");  a_ctToggleHeaderView       = new KToggleAction(i18n("Show &Header View"), CTRL+Key_H, this,                               SLOT(slotToggleHeaderView()), actionCollection(), "settings_show_headerView");  a_ctToggleArticleViewer    = new KToggleAction(i18n("Show &Article Viewer"), CTRL+Key_J, this,                               SLOT(slotToggleArticleViewer()), actionCollection(), "settings_show_articleViewer");  a_ctSwitchToGroupView      = new KAction(i18n("Switch to Group View"), Key_G , this,                               SLOT(slotSwitchToGroupView()), actionCollection(), "switch_to_group_view");  a_ctSwitchToGroupView->plugAccel(a_ccel);  a_ctSwitchToHeaderView     = new KAction(i18n("Switch to Header View"), Key_H , this,                               SLOT(slotSwitchToHeaderView()), actionCollection(), "switch_to_header_view");  a_ctSwitchToHeaderView->plugAccel(a_ccel);  a_ctSwitchToArticleViewer  = new KAction(i18n("Switch to Article Viewer"), Key_J , this,                               SLOT(slotSwitchToArticleViewer()), actionCollection(), "switch_to_article_viewer");  a_ctSwitchToArticleViewer->plugAccel(a_ccel);}