Replace QTabBar with KTabBar in tabbed view container. Partly to follow the KDE guideline of using KWidgetType instead of QWidgetType and to enable easier addition of some user requested features.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=679108
This commit is contained in:
Robert Knight
2007-06-23 02:40:11 +00:00
parent ec18837033
commit c61f622dae
2 changed files with 12 additions and 3 deletions

View File

@@ -402,8 +402,15 @@ void TabbedViewContainer::selectTabColor()
}
ViewContainerTabBar::ViewContainerTabBar(QWidget* parent)
: QTabBar(parent)
: KTabBar(parent)
{
//TODO Make tab re-ordering possible, but the QStackedWidget
// and tab widget will then have different indicies, in which
// case either the view widget stack needs to be re-ordered
// or mapping between the tab and stack widget indicies needs
// to be added
//
//setTabReorderingEnabled(true);
}
QSize ViewContainerTabBar::tabSizeHint(int index) const