Diffstat (limited to 'core/pim/todo/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/mainwindow.cpp | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/core/pim/todo/mainwindow.cpp b/core/pim/todo/mainwindow.cpp index 2002e87..9424c23 100644 --- a/core/pim/todo/mainwindow.cpp +++ b/core/pim/todo/mainwindow.cpp @@ -298,3 +298,2 @@ QPopupMenu* MainWindow::contextMenu( int , bool recur ) { QPopupMenu* MainWindow::options() { - owarn << "Options" << oendl; return m_options; @@ -317,10 +316,8 @@ OPimTodoAccess::List MainWindow::sorted( bool asc, int sortOrder ) { - owarn << " Category " << cat << " " << m_curCat << oendl; - - int filter = 1; + int filter = OPimTodoAccess::FilterCategory; if (!m_completed ) - filter |= 4; + filter |= OPimTodoAccess::DoNotShowCompleted; if (m_overdue) - filter |= 2; + filter |= OPimTodoAccess::OnlyOverDue; @@ -376,3 +373,2 @@ void MainWindow::closeEvent( QCloseEvent* e ) { if ( m_todoMgr.saveAll() ){ - owarn << "saved" << oendl; quit = true; @@ -539,3 +535,2 @@ void MainWindow::setCategory( int c) { - owarn << "Iterating over cats " << c << oendl; for ( unsigned int i = 1; i < m_catMenu->count(); i++ ) @@ -685,3 +680,2 @@ void MainWindow::slotShow( int uid ) { - owarn << "slotShow" << oendl; currentShow()->slotShow( event( uid ) ); @@ -744,3 +738,2 @@ void MainWindow::setReadAhead( uint count ) { void MainWindow::slotQuickEntered() { - owarn << "entered" << oendl; OPimTodo todo = quickEditor()->todo(); @@ -791,3 +784,2 @@ void MainWindow::slotComplete( const OPimTodo& todo ) { int dayDiff = to.dueDate().daysTo( date ); - owarn << "day diff is " << dayDiff << oendl; QDate inval; @@ -955,3 +947,2 @@ namespace { for ( it = als.begin(); it != als.end(); ++it ) { - owarn << "Adding alarm for " << (*it).dateTime().toString() << oendl; AlarmServer::addAlarm( (*it).dateTime(), "QPE/Application/todolist", "alarm(QDateTime,int)", uid ); @@ -963,3 +954,2 @@ namespace { for ( it = als.begin(); it != als.end(); ++it ) { - owarn << "Removinf alarm for " << (*it).dateTime().toString() << oendl; AlarmServer::deleteAlarm( (*it).dateTime(), "QPE/Application/todolist", "alarm(QDateTime,int)", uid ); |