summaryrefslogtreecommitdiff
path: root/core/pim/todo/todoeditor.cpp
Unidiff
Diffstat (limited to 'core/pim/todo/todoeditor.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/todoeditor.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/core/pim/todo/todoeditor.cpp b/core/pim/todo/todoeditor.cpp
index c9ade20..e19ab8d 100644
--- a/core/pim/todo/todoeditor.cpp
+++ b/core/pim/todo/todoeditor.cpp
@@ -1,3 +1,3 @@
1 1
2#include "todoentryimpl.h" 2#include "otaskeditor.h"
3#include "todoeditor.h" 3#include "todoeditor.h"
@@ -14,3 +14,3 @@ OTodo Editor::newTodo( int cur,
14 14
15 NewTaskDialog e( cur, par, 0, TRUE ); 15 OTaskEditor e( cur);
16 16
@@ -27,3 +27,5 @@ OTodo Editor::newTodo( int cur,
27 27
28 OTodo ev = e.todoEntry(); 28 OTodo ev = e.todo();
29 qWarning("Todo uid");
30 qWarning("Todo %s %d %d", ev.summary().latin1(), ev.progress(), ev.isCompleted() );
29 ev.setUid(1); 31 ev.setUid(1);
@@ -34,3 +36,3 @@ OTodo Editor::edit( QWidget *wid,
34 const OTodo& todo ) { 36 const OTodo& todo ) {
35 NewTaskDialog e( todo, wid, 0, TRUE ); 37 OTaskEditor e( todo );
36 e.setCaption( QObject::tr( "Edit Task" ) ); 38 e.setCaption( QObject::tr( "Edit Task" ) );
@@ -42,3 +44,3 @@ OTodo Editor::edit( QWidget *wid,
42 44
43 OTodo ev = e.todoEntry(); 45 OTodo ev = e.todo();
44 if ( ret == QDialog::Accepted ) 46 if ( ret == QDialog::Accepted )