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/mainwindow.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/mainwindow.cpp | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/core/pim/todo/mainwindow.cpp b/core/pim/todo/mainwindow.cpp index f0642c4..d552928 100644 --- a/core/pim/todo/mainwindow.cpp +++ b/core/pim/todo/mainwindow.cpp @@ -30,2 +30,3 @@ +#include <opie2/odebug.h> #include <opie2/opimrecurrence.h> @@ -297,3 +298,3 @@ QPopupMenu* MainWindow::contextMenu( int , bool recur ) { QPopupMenu* MainWindow::options() { - qWarning("Options"); + Opie::Core::owarn << "Options" << oendl; return m_options; @@ -316,3 +317,3 @@ OPimTodoAccess::List MainWindow::sorted( bool asc, int sortOrder ) { - qWarning(" Category %d %s", cat, m_curCat.latin1() ); + Opie::Core::owarn << " Category " << cat << " " << m_curCat << oendl; @@ -375,3 +376,3 @@ void MainWindow::closeEvent( QCloseEvent* e ) { if ( m_todoMgr.saveAll() ){ - qWarning("saved"); + Opie::Core::owarn << "saved" << oendl; quit = true; @@ -538,3 +539,3 @@ void MainWindow::setCategory( int c) { - qWarning("Iterating over cats %d", c ); + Opie::Core::owarn << "Iterating over cats " << c << oendl; for ( unsigned int i = 1; i < m_catMenu->count(); i++ ) @@ -682,3 +683,3 @@ void MainWindow::slotShow( int uid ) { if ( uid == 0 ) return; - qWarning("slotShow"); + Opie::Core::owarn << "slotShow" << oendl; currentShow()->slotShow( event( uid ) ); @@ -741,3 +742,3 @@ void MainWindow::setReadAhead( uint count ) { void MainWindow::slotQuickEntered() { - qWarning("entered"); + Opie::Core::owarn << "entered" << oendl; OPimTodo todo = quickEditor()->todo(); @@ -788,3 +789,3 @@ void MainWindow::slotComplete( const OPimTodo& todo ) { int dayDiff = to.dueDate().daysTo( date ); - qWarning("day diff is %d", dayDiff ); + Opie::Core::owarn << "day diff is " << dayDiff << oendl; QDate inval; @@ -951,3 +952,3 @@ namespace { for ( it = als.begin(); it != als.end(); ++it ) { - qWarning("Adding alarm for %s", (*it).dateTime().toString().latin1() ); + Opie::Core::owarn << "Adding alarm for " << (*it).dateTime().toString() << oendl; AlarmServer::addAlarm( (*it).dateTime(), "QPE/Application/todolist", "alarm(QDateTime,int)", uid ); @@ -959,3 +960,3 @@ namespace { for ( it = als.begin(); it != als.end(); ++it ) { - qWarning("Removinf alarm for %s", (*it).dateTime().toString().latin1() ); + Opie::Core::owarn << "Removinf alarm for " << (*it).dateTime().toString() << oendl; AlarmServer::deleteAlarm( (*it).dateTime(), "QPE/Application/todolist", "alarm(QDateTime,int)", uid ); |