-rw-r--r-- | core/pim/todo/otaskeditor.cpp | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/core/pim/todo/otaskeditor.cpp b/core/pim/todo/otaskeditor.cpp index 1ed20b4..ab1ce94 100644 --- a/core/pim/todo/otaskeditor.cpp +++ b/core/pim/todo/otaskeditor.cpp @@ -2,4 +2,2 @@ -#include <opie/orecurrancewidget.h> - #include "taskeditoroverview.h" @@ -15,3 +13,3 @@ OTaskEditor::OTaskEditor(int cur) } -OTaskEditor::OTaskEditor( const OTodo& to) +OTaskEditor::OTaskEditor( const OPimTodo& to) : QDialog( 0, 0, TRUE, WStyle_ContextHelp ) { @@ -24,3 +22,3 @@ OTaskEditor::~OTaskEditor() { void OTaskEditor::init( int cur ) { - OTodo to; + OPimTodo to; to.setUid( 1 ); // generate a new uid @@ -30,8 +28,8 @@ void OTaskEditor::init( int cur ) { } -void OTaskEditor::init( const OTodo& to ) { +void OTaskEditor::init( const OPimTodo& to ) { load( to ); } -OTodo OTaskEditor::todo()const{ +OPimTodo OTaskEditor::todo()const{ qWarning("saving!"); - OTodo to ( m_todo ); + OPimTodo to ( m_todo ); m_overView->save( to ); @@ -43,3 +41,3 @@ OTodo OTaskEditor::todo()const{ } -void OTaskEditor::load(const OTodo& to) { +void OTaskEditor::load(const OPimTodo& to) { m_overView->load( to ); @@ -77,3 +75,3 @@ void OTaskEditor::init() { - m_rec = new ORecurranceWidget( true, QDate::currentDate(), this ); + m_rec = new OPimRecurrenceWidget( true, QDate::currentDate(), this ); m_tab->addTab( m_rec, "repeat", tr("Recurrence") ); |