Diffstat (limited to 'core/pim/todo/taskeditorstatus.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/todo/taskeditorstatus.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/core/pim/todo/taskeditorstatus.cpp b/core/pim/todo/taskeditorstatus.cpp index 98e3cea..367dd58 100644 --- a/core/pim/todo/taskeditorstatus.cpp +++ b/core/pim/todo/taskeditorstatus.cpp @@ -25,15 +25,14 @@ Boston, MA 02111-1307, USA. */ #include "taskeditorstatus.h" -#include <opie/otodo.h> -#include <opie/opimmaintainer.h> -#include <opie/opimstate.h> +#include <opie2/opimmaintainer.h> +#include <opie2/opimstate.h> #include <qpe/datebookmonth.h> #include <qcheckbox.h> #include <qcombobox.h> #include <qlabel.h> @@ -168,13 +167,13 @@ TaskEditorStatus::TaskEditorStatus( QWidget* parent, const char* name, WFlags f } TaskEditorStatus::~TaskEditorStatus() { } -void TaskEditorStatus::load( const OTodo &todo ) +void TaskEditorStatus::load( const OPimTodo &todo ) { QDate date = QDate::currentDate(); QString str = TimeString::longDateString( date ); // Status int state = todo.hasState()? todo.state().state() : OPimState::NotStarted; @@ -220,13 +219,13 @@ void TaskEditorStatus::load( const OTodo &todo ) state = OPimMaintainer::Nothing; cmbMaintMode->setCurrentItem( state ); #endif // Maintainer - not implemented yet } -void TaskEditorStatus::save( OTodo &todo ) +void TaskEditorStatus::save( OPimTodo &todo ) { QDate inval; // Status todo.setState( OPimState( cmbStatus->currentItem() ) ); |