summaryrefslogtreecommitdiff
path: root/core/pim/todo/quickeditimpl.h
authordrw <drw>2002-12-20 22:45:16 (UTC)
committer drw <drw>2002-12-20 22:45:16 (UTC)
commit3e67f4998a4957420d7f890268dc5f816e142468 (patch) (unidiff)
tree428a6876c2e42efedb7334c440edc51acad6dacf /core/pim/todo/quickeditimpl.h
parent406e02d26c0925598cbadaead11e3ee7b2c7c51c (diff)
downloadopie-3e67f4998a4957420d7f890268dc5f816e142468.zip
opie-3e67f4998a4957420d7f890268dc5f816e142468.tar.gz
opie-3e67f4998a4957420d7f890268dc5f816e142468.tar.bz2
First part of GUI clean-up. Added icons to 'quick task' entry toolbar and menu choice to show/hide the bar.
Diffstat (limited to 'core/pim/todo/quickeditimpl.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/quickeditimpl.h9
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,34 +1,35 @@
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
8class QLineEdit; 8class QLineEdit;
9class QLabel; 9class QLabel;
10 10
11class QuickEditImpl : public QHBox, public Todo::QuickEdit { 11class QuickEditImpl : public QPEToolBar, public Todo::QuickEdit {
12 Q_OBJECT 12 Q_OBJECT
13public: 13public:
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;
19private slots: 18private slots:
20 void slotEnter(); 19 void slotEnter();
21 void slotPrio(); 20 void slotPrio();
22 void slotMore(); 21 void slotMore();
22 void slotCancel();
23private: 23private:
24 void reinit(); 24 void reinit();
25 int m_state; 25 int m_state;
26 QLabel* m_lbl; 26 QLabel* m_lbl;
27 QLineEdit* m_edit; 27 QLineEdit* m_edit;
28 QLabel* m_enter; 28 QLabel* m_enter;
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