1 /***************************************************************************
2 * Copyright (C) 2003 by Hideki Ikemoto, 2004 by 421 *
3 * ikemo@users.sourceforge.jp *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 ***************************************************************************/
10 #ifndef KITATHREADTABWIDGET_H
11 #define KITATHREADTABWIDGET_H
13 #include "kitaui/tabwidgetbase.h"
18 class ThreadTabWidget : public TabWidgetBase
23 explicit ThreadTabWidget(QWidget* parent = 0);
27 void slotShowMainThread(const KUrl& datUrl);
28 void slotCloseThreadTab(const KUrl& url);
29 void slotUpdateThreadTab(const KUrl& url);
32 ThreadView* createView(const QString& label);
33 ThreadView* findMainView(const KUrl& url);
34 ThreadView* isThreadView(QWidget* w);
37 void slotFontChanged();
41 virtual void deleteWidget(QWidget* w);
44 /*------------------------------------*/
45 /* ThreadView actions */
49 void contextMenuEvent(QContextMenuEvent* e);
51 QList<QAction*> m_actionList;
55 void slotFocusSearchCombo();
56 void slotSearchNext();
57 void slotSearchPrev();
58 void slotGobackAnchor();
59 void slotGotoHeader();
60 void slotGotoFooter();
61 void slotReloadButton();
62 void slotStopLoading();
63 void slotDeleteButtonClicked();