Moved global.* to mastersettings.*, and converted many error messages to use the...
[tagua/yd.git] / src / tabbar.h
blob642784da356da5c3ace191d2f20d04d78d69f7a1
1 /*
2 Copyright (c) 2006 Paolo Capriotti <p.capriotti@sns.it>
3 (c) 2006 Maurizio Monge <maurizio.monge@kdemail.net>
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 TABBAR_H
12 #define TABBAR_H
14 #include <QTabBar>
15 #include <QTabWidget>
16 class QToolButton;
18 class TabBar : public QTabBar {
19 Q_OBJECT
20 public:
21 TabBar(QWidget* parent = 0);
24 class TabWidget : public QTabWidget {
25 Q_OBJECT
26 QToolButton* m_close;
27 public:
28 TabWidget(QWidget* parent = 0);
30 void showTabBar();
31 void hideTabBar();
32 signals:
33 void closeTab();
36 #endif // TABBAR_H