connect( this, SIGNAL( favoritesUpdated() ),
signalCollection, SIGNAL( favoritesUpdated() ) );
- //QPopupMenu* popup = static_cast<QPopupMenu *>( factory() ->container( "window", this ) );
- //connect( popup, SIGNAL( aboutToShow() ),
- // SLOT( windowMenuAboutToShow() ) );
QPopupMenu* settingsPopup = static_cast<QPopupMenu *>( factory() ->container( "settings", this ) );
connect( settingsPopup, SIGNAL( aboutToShow() ),
}
}
-void KitaMainWindow::fileNew()
-{
- // this slot is called whenever the File->New menu is selected,
- // the New shortcut is pressed (usually CTRL+N) or the New toolbar
- // button is clicked
-
- // create a new window
- ( new KitaMainWindow ) ->show();
-}
-
void KitaMainWindow::optionsShowToolbar()
{
// this is all very cut and paste code for showing/hiding the
}
}
-void KitaMainWindow::windowMenuAboutToShow()
-{
- //m_boardListAction->setChecked( m_boardDock->isVisible() );
- //m_subjectListAction->setChecked( m_subjectDock->isVisible() );
- //m_toggleViewAction->setEnabled(m_subjectDock->dockSite() & KDockWidget::DockCenter);
-}
-
void KitaMainWindow::windowCloseTab()
{
m_threadTab->closeCurrentTab();
void windowActivationChange( bool );
private slots:
- void fileNew();
void optionsShowToolbar();
void optionsShowStatusbar();
void optionsConfigureKeys();
void windowShowBoardlist();
void windowShowSubjectlist();
void windowToggleView();
- void windowMenuAboutToShow();
void windowCloseTab();
void settingsMenuAboutToShow();
void slotEditCopy();