1 /***************************************************************************
2 * Copyright (C) 2004 by Kita Developers *
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 ***************************************************************************/
11 #ifndef KITABOARDTABWIDGET_H
12 #define KITABOARDTABWIDGET_H
14 #include "kitaui/tabwidgetbase.h"
16 #include "favoritelistview.h"
17 #include "boardview.h"
20 @author Hideki Ikemoto
22 class KitaBoardTabWidget : public KitaTabWidgetBase
27 KitaBoardTabWidget( QWidget* parent = 0, const char* name = 0, WFlags f = 0 );
28 ~KitaBoardTabWidget();
31 void loadBoard( const KURL& );
34 KitaBoardView* createView( QString label );
35 KitaBoardView* findView( const KURL& boardURL );
36 KitaBoardView* isSubjectView( QWidget* w );
39 virtual void deleteWidget( QWidget* w );
48 void slotReloadButton();
49 void slotFocusSearchCombo();
50 void slotShowOldLogs( int idx = -1 );
53 /*--------------------------------------------------*/
55 class SubjectTabBar : public KTabBar
60 SubjectTabBar( QWidget* parent = 0, const char* name = 0 );
64 virtual void showPopupMenu( int idx, const QPoint& global );
69 /*--------------------------------------------------*/
72 class KitaBoardDock : public KitaDockWidgetBase
76 KitaBoardTabWidget* m_boardTab;
78 KitaBoardDock( KDockManager* dockManager,
80 const QPixmap &pixmap,
82 const QString& strCaption = QString::null,
83 const QString& strTabPageLabel = QString::fromLatin1( " " ),