author | zecke <zecke> | 2003-05-12 13:21:59 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-05-12 13:21:59 (UTC) |
commit | 9a4c9544a59f8395f2ec5e7c99028570f8bd8bd1 (patch) (side-by-side diff) | |
tree | 8af13b984750f743b7f9f06bbf04b531b1a10ff2 /core/pim/todo/otaskeditor.cpp | |
parent | a4c8b8912c9e87a2fd76103193e6b4f91c2a2c5d (diff) | |
download | opie-9a4c9544a59f8395f2ec5e7c99028570f8bd8bd1.zip opie-9a4c9544a59f8395f2ec5e7c99028570f8bd8bd1.tar.gz opie-9a4c9544a59f8395f2ec5e7c99028570f8bd8bd1.tar.bz2 |
Hospital Hacking Session
make more translatable
fix up GUI for Opie1.0 in regards what is implemnted
implement setting and removing of Alarms!!!!
Show Alarms once they got fired...
Diffstat (limited to 'core/pim/todo/otaskeditor.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/otaskeditor.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/core/pim/todo/otaskeditor.cpp b/core/pim/todo/otaskeditor.cpp index e26d5e4..84f854f 100644 --- a/core/pim/todo/otaskeditor.cpp +++ b/core/pim/todo/otaskeditor.cpp @@ -44,2 +44,3 @@ OTodo OTaskEditor::todo()const{ to.setRecurrence( m_rec->recurrence() ); + m_alarm->save( to ); @@ -51,2 +52,4 @@ void OTaskEditor::load(const OTodo& to) { m_rec->setRecurrence( to.recurrence(), to.hasDueDate() ? to.dueDate() : QDate::currentDate() ); + m_alarm->setEnabled( !to.hasRecurrence() ); + m_alarm->load( to ); } @@ -71,8 +74,8 @@ void OTaskEditor::init() { - m_remind = new TaskEditorAlarms( m_tab ); - m_tab->addTab( m_remind, "todo/reminder", tr("Reminders") ); +// m_remind = new TaskEditorAlarms( m_tab ); +// m_tab->addTab( m_remind, "todo/reminder", tr("Reminders") ); - QLabel* lbl = new QLabel( m_tab ); - lbl->setText( tr("X-Ref") ); - m_tab->addTab( lbl, "todo/xref", tr("X-Ref") ); +// QLabel* lbl = new QLabel( m_tab ); +// lbl->setText( tr("X-Ref") ); +// m_tab->addTab( lbl, "todo/xref", tr("X-Ref") ); |