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