new KAction(i18n("Load BoardList"), 0,
m_boardView, SLOT(loadBoardList()), actionCollection(), "load_board_list");
+ new KAction( i18n( "Reload" ), KStdAccel::reload(),
+ this, SLOT( slotViewReload() ), actionCollection(), "reload" );
+
createGUI();
}
m_threadView->focusSearchCombo();
}
+void KitaMainWindow::slotViewReload()
+{
+ m_threadView->reloadThread();
+}
+
#include "kita.moc"
void windowMenuAboutToShow();
void slotEditCopy();
void slotEditFind();
+ void slotViewReload();
void changeStatusbar(const QString& text);
void changeCaption(const QString& text);
static_cast<KitaThreadView *>( currentPage() )->focusSearchCombo();
}
+void KitaThreadTabWidget::reloadThread()
+{
+ static_cast<KitaThreadView *>( currentPage() )->slotReloadButton();
+}
+
KitaThreadTabBar::KitaThreadTabBar( QWidget* parent, const char* name )
: QTabBar( parent, name )
{
KitaThreadTabWidget(QWidget *parent = 0, const char *name = 0, WFlags f = 0);
~KitaThreadTabWidget();
void focusSearchCombo();
+ void reloadThread();
public slots:
void showThread( const Kita::Thread& thread );
<Menu name="file"><text>&File</text>
<Action name="load_board_list" />
</Menu>
+ <Menu name="view"><text>&View</text>
+ <Action name="reload" />
+ </Menu>
<Menu name="window"><text>&Window</text>
<Action name="window_show_board_list" />
<Action name="window_show_subject_list" />
public slots:
void showThread( const Kita::Thread& thread );
void setFont( const QFont& font );
+ void slotReloadButton();
protected slots:
void slotDOMNodeActivated( const DOM::Node& node );
void slotSearchButton();
void slotHighLightenButton( bool yes );
void slotOnURL( const QString& url );
- void slotReloadButton();
void slotPostStarted( KIO::Job*, const Kita::PostInfo& );
void slotBookmarkButtonClicked( bool on );
void slotWriteButtonClicked();