summaryrefslogtreecommitdiff
path: root/core/pim/todo/taskeditoroverview.cpp
Unidiff
Diffstat (limited to 'core/pim/todo/taskeditoroverview.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/todo/taskeditoroverview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/pim/todo/taskeditoroverview.cpp b/core/pim/todo/taskeditoroverview.cpp
index 415dcf2..294acb9 100644
--- a/core/pim/todo/taskeditoroverview.cpp
+++ b/core/pim/todo/taskeditoroverview.cpp
@@ -25,13 +25,13 @@
25 Boston, MA 02111-1307, USA. 25 Boston, MA 02111-1307, USA.
26 26
27*/ 27*/
28 28
29#include "taskeditoroverview.h" 29#include "taskeditoroverview.h"
30 30
31#include <opie/orecur.h> 31//#include <opie2/opimrecurrence.h>
32 32
33#include <qpe/categoryselect.h> 33#include <qpe/categoryselect.h>
34#include <qpe/datebookmonth.h> 34#include <qpe/datebookmonth.h>
35#include <qpe/resource.h> 35#include <qpe/resource.h>
36 36
37#include <qcheckbox.h> 37#include <qcheckbox.h>
@@ -124,13 +124,13 @@ TaskEditorOverView::TaskEditorOverView( QWidget* parent, const char* name, WFla
124} 124}
125 125
126TaskEditorOverView::~TaskEditorOverView() 126TaskEditorOverView::~TaskEditorOverView()
127{ 127{
128} 128}
129 129
130void TaskEditorOverView::load( const OTodo& todo ) 130void TaskEditorOverView::load( const OPimTodo& todo )
131{ 131{
132 // Description 132 // Description
133 cmbDesc->insertItem( todo.summary(), 0 ); 133 cmbDesc->insertItem( todo.summary(), 0 );
134 cmbDesc->setCurrentItem( 0 ); 134 cmbDesc->setCurrentItem( 0 );
135 135
136 // Priority 136 // Priority
@@ -145,13 +145,13 @@ void TaskEditorOverView::load( const OTodo& todo )
145 145
146 // Notes 146 // Notes
147 mleNotes->setText( todo.description() ); 147 mleNotes->setText( todo.description() );
148 148
149} 149}
150 150
151void TaskEditorOverView::save( OTodo &todo ) 151void TaskEditorOverView::save( OPimTodo &todo )
152{ 152{
153 // Description 153 // Description
154 todo.setSummary( cmbDesc->currentText() ); 154 todo.setSummary( cmbDesc->currentText() );
155 155
156 // Priority 156 // Priority
157 todo.setPriority( cmbPriority->currentItem() + 1 ); 157 todo.setPriority( cmbPriority->currentItem() + 1 );