author | zecke <zecke> | 2002-10-07 11:39:30 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-07 11:39:30 (UTC) |
commit | f11d4bda64b58abfebf77485d5d77143a10dc8c9 (patch) (unidiff) | |
tree | a4e80550c4abe867303553de608316941dd943f1 /core/pim/todo/templatedialog.h | |
parent | c2cd5470fa3ec69394fa65ad16ab29a6cadab56f (diff) | |
download | opie-f11d4bda64b58abfebf77485d5d77143a10dc8c9.zip opie-f11d4bda64b58abfebf77485d5d77143a10dc8c9.tar.gz opie-f11d4bda64b58abfebf77485d5d77143a10dc8c9.tar.bz2 |
Re add files
for todo
Diffstat (limited to 'core/pim/todo/templatedialog.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/todo/templatedialog.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/core/pim/todo/templatedialog.h b/core/pim/todo/templatedialog.h new file mode 100644 index 0000000..5886c34 --- a/dev/null +++ b/core/pim/todo/templatedialog.h | |||
@@ -0,0 +1,44 @@ | |||
1 | #ifndef OPIE_TEMPLATE_DIALOG_H | ||
2 | #define OPIE_TEMPLATE_DIALOG_H | ||
3 | |||
4 | #include <qdialog.h> | ||
5 | #include <qstring.h> | ||
6 | |||
7 | class QListView; | ||
8 | class QPushButton; | ||
9 | class QLabel; | ||
10 | class QHBox; | ||
11 | class QVBoxLayout; | ||
12 | class QLineEdit; | ||
13 | |||
14 | |||
15 | namespace Todo { | ||
16 | class TemplateDialog : public QDialog { | ||
17 | Q_OBJECT | ||
18 | public: | ||
19 | /* it'll be modal */ | ||
20 | TemplateDialog( QWidget* parent ); | ||
21 | virtual ~TemplateDialog(); | ||
22 | |||
23 | protected: | ||
24 | QListView* listView(); | ||
25 | QLineEdit* edit(); | ||
26 | private slots: | ||
27 | virtual void slotAdd(); | ||
28 | virtual void slotRemove(); | ||
29 | virtual void slotEdit(); | ||
30 | virtual void slotReturn(); | ||
31 | |||
32 | private: | ||
33 | QVBoxLayout* m_main; | ||
34 | QHBox* m_btnBar; | ||
35 | QListView* m_list; | ||
36 | QLineEdit *m_lne; | ||
37 | QPushButton* m_add; | ||
38 | QPushButton* m_rem; | ||
39 | QPushButton* m_edit; | ||
40 | |||
41 | }; | ||
42 | } | ||
43 | |||
44 | #endif | ||