Diffstat (limited to 'noncore/apps/opie-reader/QFloatBar.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/QFloatBar.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/apps/opie-reader/QFloatBar.h b/noncore/apps/opie-reader/QFloatBar.h index bc70566..cc98233 100644 --- a/noncore/apps/opie-reader/QFloatBar.h +++ b/noncore/apps/opie-reader/QFloatBar.h | |||
@@ -1,16 +1,17 @@ | |||
1 | #ifndef __QFLOATBAR_H | 1 | #ifndef __QFLOATBAR_H |
2 | #define __QFLOATBAR_H | 2 | #define __QFLOATBAR_H |
3 | 3 | ||
4 | #include <qtoolbar.h> | 4 | #include <qtoolbar.h> |
5 | #include <qmainwindow.h> | ||
5 | 6 | ||
6 | class QFloatBar : public QToolBar | 7 | class QFloatBar : public QToolBar |
7 | { | 8 | { |
8 | Q_OBJECT | 9 | Q_OBJECT |
9 | virtual void hideEvent(QHideEvent* e) | 10 | virtual void hideEvent(QHideEvent* e) |
10 | { | 11 | { |
11 | /*if (e->spontaneous())*/ emit OnHide(); | 12 | /*if (e->spontaneous())*/ emit OnHide(); |
12 | } | 13 | } |
13 | public: | 14 | public: |
14 | QFloatBar(char* t, QMainWindow* mw, QMainWindow::ToolBarDock td, bool f) : QToolBar(t, mw, td, f) {} | 15 | QFloatBar(char* t, QMainWindow* mw, QMainWindow::ToolBarDock td, bool f) : QToolBar(t, mw, td, f) {} |
15 | signals: | 16 | signals: |
16 | void OnHide(); | 17 | void OnHide(); |