1 /***************************************************************************
2 * Copyright (C) 2004 by Hideki Ikemoto , (c) 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 ***************************************************************************/
11 #include "bbstabwidget.h"
19 BBSTabWidget::BBSTabWidget(QWidget* parent) : TabWidgetBase(parent)
21 BBSView * view = new BBSView(this);
22 addTab(view, i18nc("@title:tab", "Board Name"));
26 BBSTabWidget::~BBSTabWidget() {}
30 void BBSTabWidget::showBoardList()
32 static_cast<BBSView*>(widget(0))->showBoardList();
35 void BBSTabWidget::updateBoardList()
37 static_cast<BBSView*>(widget(0))->updateBoardList();
41 void BBSTabWidget::setFont(const QFont& font)
43 KTabWidget::setFont(font);
44 static_cast<BBSView*>(widget(0))->setFont(font);
48 void BBSTabWidget::loadOpened()
50 static_cast<BBSView*>(widget(0))->loadOpened();