summaryrefslogtreecommitdiff
path: root/core/pim/todo/templatedialog.h
authorzecke <zecke>2002-10-07 11:39:30 (UTC)
committer zecke <zecke>2002-10-07 11:39:30 (UTC)
commitf11d4bda64b58abfebf77485d5d77143a10dc8c9 (patch) (side-by-side diff)
treea4e80550c4abe867303553de608316941dd943f1 /core/pim/todo/templatedialog.h
parentc2cd5470fa3ec69394fa65ad16ab29a6cadab56f (diff)
downloadopie-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.h44
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 @@
+#ifndef OPIE_TEMPLATE_DIALOG_H
+#define OPIE_TEMPLATE_DIALOG_H
+
+#include <qdialog.h>
+#include <qstring.h>
+
+class QListView;
+class QPushButton;
+class QLabel;
+class QHBox;
+class QVBoxLayout;
+class QLineEdit;
+
+
+namespace Todo {
+ class TemplateDialog : public QDialog {
+ Q_OBJECT
+ public:
+ /* it'll be modal */
+ TemplateDialog( QWidget* parent );
+ virtual ~TemplateDialog();
+
+ protected:
+ QListView* listView();
+ QLineEdit* edit();
+private slots:
+ virtual void slotAdd();
+ virtual void slotRemove();
+ virtual void slotEdit();
+ virtual void slotReturn();
+
+ private:
+ QVBoxLayout* m_main;
+ QHBox* m_btnBar;
+ QListView* m_list;
+ QLineEdit *m_lne;
+ QPushButton* m_add;
+ QPushButton* m_rem;
+ QPushButton* m_edit;
+
+ };
+}
+
+#endif