author | drw <drw> | 2004-04-02 22:15:36 (UTC) |
---|---|---|
committer | drw <drw> | 2004-04-02 22:15:36 (UTC) |
commit | edd008d91ca57453601d0c2098936287d98975e6 (patch) (side-by-side diff) | |
tree | ffdc1d494333537e33a3ad0390f83968cb884966 /core/pim/todo/todoeditor.cpp | |
parent | 6f335843b89f60fe009b43a4134e9b3753fff974 (diff) | |
download | opie-edd008d91ca57453601d0c2098936287d98975e6.zip opie-edd008d91ca57453601d0c2098936287d98975e6.tar.gz opie-edd008d91ca57453601d0c2098936287d98975e6.tar.bz2 |
Use ODebug (another 35 down...) - all of core/pim is converted.
-rw-r--r-- | core/pim/todo/todoeditor.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/pim/todo/todoeditor.cpp b/core/pim/todo/todoeditor.cpp index 4b5ecb1..7857d52 100644 --- a/core/pim/todo/todoeditor.cpp +++ b/core/pim/todo/todoeditor.cpp @@ -1,12 +1,13 @@ +#include <opie2/odebug.h> #include <qpe/qpeapplication.h> #include "otaskeditor.h" #include "todoeditor.h" using namespace Opie; using namespace Todo; Editor::Editor() { m_accepted = false; m_self = 0l; @@ -21,26 +22,26 @@ OPimTodo Editor::newTodo( int cur, OTaskEditor *e = self(); e->setCaption( QObject::tr("Enter Task") ); e->init( cur ); int ret = QPEApplication::execDialog( e ); if ( QDialog::Accepted == ret ) { m_accepted = true; }else m_accepted = false; OPimTodo ev = e->todo(); - qWarning("Todo uid"); - qWarning("Todo %s %d %d", ev.summary().latin1(), ev.progress(), ev.isCompleted() ); + Opie::Core::owarn << "Todo uid" << oendl; + Opie::Core::owarn << "Todo " << ev.summary() << " " << ev.progress() << " " << ev.isCompleted() << oendl; ev.setUid(1); return ev; } OPimTodo Editor::edit( QWidget *, const OPimTodo& todo ) { OTaskEditor *e = self(); e->init( todo ); e->setCaption( QObject::tr( "Edit Task" ) ); int ret = QPEApplication::execDialog( e ); |