author | eilers <eilers> | 2002-10-18 15:42:57 (UTC) |
---|---|---|
committer | eilers <eilers> | 2002-10-18 15:42:57 (UTC) |
commit | 47e60a8dc20f46dd00b9405f7fde122792018627 (patch) (unidiff) | |
tree | b109ca9e9c200e7e47c0e61e8f2e86ba6bf4a37f /core/pim/addressbook/ofloatbar.h | |
parent | c16dcab3fe45ae7193cbdfb2f62bf7e5482d449b (diff) | |
download | opie-47e60a8dc20f46dd00b9405f7fde122792018627.zip opie-47e60a8dc20f46dd00b9405f7fde122792018627.tar.gz opie-47e60a8dc20f46dd00b9405f7fde122792018627.tar.bz2 |
First attempt of new find entry field.. It still needs some finetuning !
Diffstat (limited to 'core/pim/addressbook/ofloatbar.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/addressbook/ofloatbar.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/core/pim/addressbook/ofloatbar.h b/core/pim/addressbook/ofloatbar.h new file mode 100644 index 0000000..85a0c4f --- a/dev/null +++ b/core/pim/addressbook/ofloatbar.h | |||
@@ -0,0 +1,20 @@ | |||
1 | #ifndef __OFLOATBAR_H | ||
2 | #define __OFLOATBAR_H | ||
3 | |||
4 | #include <qtoolbar.h> | ||
5 | #include <qevent.h> | ||
6 | |||
7 | class OFloatBar : public QToolBar | ||
8 | { | ||
9 | Q_OBJECT | ||
10 | virtual void hideEvent(QHideEvent* e) | ||
11 | { | ||
12 | /*if (e->spontaneous())*/ emit OnHide(); | ||
13 | } | ||
14 | public: | ||
15 | OFloatBar(char* t, QMainWindow* mw, QMainWindow::ToolBarDock td, bool f) : QToolBar(t, mw, td, f) {} | ||
16 | signals: | ||
17 | void OnHide(); | ||
18 | }; | ||
19 | |||
20 | #endif | ||