-rw-r--r-- | core/pim/todo/todoview.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/pim/todo/todoview.cpp b/core/pim/todo/todoview.cpp index d99cf77..03e1060 100644 --- a/core/pim/todo/todoview.cpp +++ b/core/pim/todo/todoview.cpp | |||
@@ -1,6 +1,8 @@ | |||
1 | #include "mainwindow.h" | 1 | #include "mainwindow.h" |
2 | 2 | ||
3 | #include <opie2/odebug.h> | ||
4 | |||
3 | #include "todoview.h" | 5 | #include "todoview.h" |
4 | 6 | ||
5 | using namespace Todo; | 7 | using namespace Todo; |
6 | 8 | ||
@@ -30,18 +32,18 @@ OPimTodoAccess::List TodoView::sorted()const{ | |||
30 | return m_sort; | 32 | return m_sort; |
31 | } | 33 | } |
32 | void TodoView::sort() { | 34 | void TodoView::sort() { |
33 | m_sort = todoWindow()->sorted(m_asc,m_sortOrder ); | 35 | m_sort = todoWindow()->sorted(m_asc,m_sortOrder ); |
34 | qWarning("m_sort.count() = %d", m_sort.count() ); | 36 | Opie::Core::owarn << "m_sort.count() = " << m_sort.count() << oendl; |
35 | } | 37 | } |
36 | void TodoView::sort(int sort) { | 38 | void TodoView::sort(int sort) { |
37 | m_sort = todoWindow()->sorted(m_asc, m_sortOrder, sort ); | 39 | m_sort = todoWindow()->sorted(m_asc, m_sortOrder, sort ); |
38 | } | 40 | } |
39 | void TodoView::setSortOrder( int order ) { | 41 | void TodoView::setSortOrder( int order ) { |
40 | m_sortOrder = order; | 42 | m_sortOrder = order; |
41 | } | 43 | } |
42 | void TodoView::setAscending( bool b ) { | 44 | void TodoView::setAscending( bool b ) { |
43 | qWarning("setAscending %d", b ); | 45 | Opie::Core::owarn << "setAscending " << b << oendl; |
44 | m_asc = b; | 46 | m_asc = b; |
45 | } | 47 | } |
46 | void TodoView::update(int, const SmallTodo& ) { | 48 | void TodoView::update(int, const SmallTodo& ) { |
47 | //m_main->slotUpate1( uid, to ); | 49 | //m_main->slotUpate1( uid, to ); |