summaryrefslogtreecommitdiff
path: root/core/pim/todo/taskeditoroverviewimpl.h
authorzecke <zecke>2002-10-21 13:45:10 (UTC)
committer zecke <zecke>2002-10-21 13:45:10 (UTC)
commit5e2e1e70e6cc7cadce96e42f83951b87e3f2209e (patch) (side-by-side diff)
tree6350fbbaf5a4494817a133f46fea44baeb1e3098 /core/pim/todo/taskeditoroverviewimpl.h
parent2c61d682a74f9ce2a216cf59c33c3dcecf00a213 (diff)
downloadopie-5e2e1e70e6cc7cadce96e42f83951b87e3f2209e.zip
opie-5e2e1e70e6cc7cadce96e42f83951b87e3f2209e.tar.gz
opie-5e2e1e70e6cc7cadce96e42f83951b87e3f2209e.tar.bz2
Fix a bug where newly added items did not show up in the view
Now we add the Entry to the backend first and then update the view next step is to make place for the new EditorWidget It features Completed/Start Date State Began, Postponed... Maintainer Mode: needs to be done by... Maintainer: Choose a person who is responsible for ( once implemented I hope he master of our feeds is happy ) Recurrance Widget Alarms + Reminders Widget Parent to be added Most of it is not implemented cause first of all OTodo does not know anything about these attributes but this will change soon. I'll start to implement it very soon
Diffstat (limited to 'core/pim/todo/taskeditoroverviewimpl.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/taskeditoroverviewimpl.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/core/pim/todo/taskeditoroverviewimpl.h b/core/pim/todo/taskeditoroverviewimpl.h
new file mode 100644
index 0000000..4fab381
--- a/dev/null
+++ b/core/pim/todo/taskeditoroverviewimpl.h
@@ -0,0 +1,54 @@
+#ifndef OPIE_TASK_EDITOR_VIEW_IMPL_H
+#define OPIE_TASK_EDITOR_VIEW_IMPL_H
+
+#include <qsize.h>
+
+#include <opie/otodo.h>
+
+#include "taskeditoroverview.h"
+
+class DateBookMonth;
+class QPushButton;
+class QPopupMenu;
+class TaskEditorOverViewImpl : public TaskEditorOverView {
+ Q_OBJECT
+public:
+ TaskEditorOverViewImpl(QWidget* parent, const char* name = 0);
+ ~TaskEditorOverViewImpl();
+
+ void load( const OTodo& );
+ void save( OTodo& );
+signals:
+ void recurranceEnabled( bool );
+
+private:
+ void init();
+ void popup(QPushButton*, QPopupMenu*);
+ DateBookMonth* m_dueBook;
+ DateBookMonth* m_startBook;
+ DateBookMonth* m_compBook;
+ QDate m_start;
+ QDate m_comp;
+ QDate m_due;
+ QPopupMenu* m_startPop;
+ QPopupMenu* m_compPop;
+ QPopupMenu* m_duePop;
+ bool m_bDue : 1;
+
+private slots:
+ void slotStartChecked();
+ void slotStartChanged(int, int, int );
+ void slotDueChecked();
+ void slotDueChanged(int, int, int );
+ void slotCompletedChecked();
+ void slotCompletedChanged(int, int, int );
+
+ void hackySlotHack1();
+ void hackySlotHack2();
+ void hackySlotHack3();
+
+ void slotRecClicked();
+};
+
+
+#endif