rem: v_iew->slotCollectionSelected(0);
context: KNMainWindow::KNMainWindow() : KMainWindow(0,"mainWindow"), b_lockInput(false){  knGlobals.top=this;  knGlobals.topWidget=this;  kapp->setMainWidget(this);  // this makes the external viewer windows close on shutdown...  //statusbar  KStatusBar *sb=statusBar();  p_rogBar=new KNProgress(sb->sizeHint().height()-4,0,1000,0, KProgress::Horizontal,sb );  knGlobals.progressBar=p_rogBar;  sb->addWidget(p_rogBar);  sb->insertItem(QString::null, SB_MAIN,2);  sb->setItemAlignment (SB_MAIN,AlignLeft | AlignVCenter);  sb->insertItem(QString::null, SB_FILTER,2);  sb->setItemAlignment (SB_FILTER,AlignLeft | AlignVCenter);  sb->insertItem(QString::null,SB_GROUP,3);  sb->setItemAlignment (SB_GROUP,AlignLeft | AlignVCenter);  setStatusMsg();  //view  setCaption(i18n("KDE News Reader"));  v_iew=new KNodeView(this, "knodeView");  setCentralWidget(v_iew);  knGlobals.view=v_iew;  //actions  a_ccel=new KAccel(this);  v_iew->a_ctNavReadThrough->plugAccel(a_ccel);  KStdAction::quit(kapp, SLOT(closeAllWindows()), actionCollection());  //KStdAction::saveOptions(this, SLOT(slotSaveOptions()), 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());  v_iew->slotCollectionSelected(0); //disable view-actions  createGUI("knodeui.rc");  v_iew->initPopups(this);  //apply settings  KConfig *conf = KGlobal::config();  conf->setGroup("mainWindow_options");  resize(759,478);  // default optimized for 800x600  applyMainWindowSettings(conf);  a_ctWinToggleToolbar->setChecked(!toolBar()->isHidden());  a_ctWinToggleStatusbar->setChecked(!statusBar()->isHidden());  if(firstStart()) {  // open the config dialog on the first start    show();              // the settings dialog must appear in front of the main window!    slotSettings();  }}