Diffstat (limited to 'core/pim/todo/quickeditimpl.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/quickeditimpl.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/core/pim/todo/quickeditimpl.h b/core/pim/todo/quickeditimpl.h index d0f6c69..c58275e 100644 --- a/core/pim/todo/quickeditimpl.h +++ b/core/pim/todo/quickeditimpl.h | |||
@@ -1,25 +1,25 @@ | |||
1 | #ifndef OPIE_QUICK_EDIT_IMPL_H | 1 | #ifndef OPIE_QUICK_EDIT_IMPL_H |
2 | #define OPIE_QUICK_EDIT_IMPL_H | 2 | #define OPIE_QUICK_EDIT_IMPL_H |
3 | 3 | ||
4 | #include <qhbox.h> | 4 | #include <qpe/qpetoolbar.h> |
5 | 5 | ||
6 | #include "quickedit.h" | 6 | #include "quickedit.h" |
7 | 7 | ||
8 | class QLineEdit; | 8 | class QLineEdit; |
9 | class QLabel; | 9 | class QLabel; |
10 | 10 | ||
11 | class QuickEditImpl : public QHBox, public Todo::QuickEdit { | 11 | class QuickEditImpl : public QPEToolBar, public Todo::QuickEdit { |
12 | Q_OBJECT | 12 | Q_OBJECT |
13 | public: | 13 | public: |
14 | QuickEditImpl( Todo::MainWindow* win , QWidget* parent); | 14 | QuickEditImpl( QWidget* parent, bool visible); |
15 | ~QuickEditImpl(); | 15 | ~QuickEditImpl(); |
16 | OTodo todo()const; | 16 | OTodo todo()const; |
17 | QWidget* widget(); | 17 | QWidget* widget(); |
18 | QSize sizeHint()const; | ||
19 | private slots: | 18 | private slots: |
20 | void slotEnter(); | 19 | void slotEnter(); |
21 | void slotPrio(); | 20 | void slotPrio(); |
22 | void slotMore(); | 21 | void slotMore(); |
22 | void slotCancel(); | ||
23 | private: | 23 | private: |
24 | void reinit(); | 24 | void reinit(); |
25 | int m_state; | 25 | int m_state; |
@@ -29,6 +29,7 @@ private: | |||
29 | QLabel* m_more; | 29 | QLabel* m_more; |
30 | QPopupMenu* m_menu; | 30 | QPopupMenu* m_menu; |
31 | OTodo m_todo; | 31 | OTodo m_todo; |
32 | bool m_visible; | ||
32 | }; | 33 | }; |
33 | 34 | ||
34 | #endif | 35 | #endif |