Removed AlgebraicNotation from the variant API.
[tagua/yd.git] / src / tabbar.h
blobfd7fbc6810dc397f7c1a415f34b8ed41d5907d2f
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 Q_SIGNALS:
33 void closeTab();
36 #endif // TABBAR_H