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 _KITABBSVIEW_H_
12 #define _KITABBSVIEW_H_
14 #include <kparts/browserextension.h>
36 * @author Hideki Ikemoto <ikemo@users.sourceforge.jp>
38 class KitaBBSView : public QWidget
41 Kita::ListViewItem* m_favorites;
49 QValueList<Kita::Category> getCategoryList( const QString& html ) const;
52 QComboBox* SearchCombo;
53 KListView* m_boardList;
56 QVBoxLayout* KitaBBSViewBaseLayout;
57 QHBoxLayout* layout10;
61 void loadBoard( QListViewItem* item );
62 void slotContextMenuRequested( QListViewItem*, const QPoint&, int );
63 void slotMouseButtonClicked( int, QListViewItem* );
64 void refreshFavoriteBoards();
65 void filter( const QString& str );
68 KitaBBSView( QWidget *parent, const char *name = 0 );
74 void updateBoardList();
76 void setFont( const QFont& font );
77 virtual void setFocus();
81 bool downloadBoardList();