summaryrefslogtreecommitdiff
path: root/core/pim/todo/todomanager.cpp
Unidiff
Diffstat (limited to 'core/pim/todo/todomanager.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/todomanager.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/core/pim/todo/todomanager.cpp b/core/pim/todo/todomanager.cpp
index 21e1d0c..7826747 100644
--- a/core/pim/todo/todomanager.cpp
+++ b/core/pim/todo/todomanager.cpp
@@ -25,6 +25,9 @@
25 Boston, MA 02111-1307, USA. 25 Boston, MA 02111-1307, USA.
26 26
27*/ 27*/
28
29#include <opie2/odebug.h>
30
28#include <qpe/categoryselect.h> 31#include <qpe/categoryselect.h>
29 32
30#include "todomanager.h" 33#include "todomanager.h"
@@ -37,7 +40,7 @@ TodoManager::TodoManager( QObject *obj )
37 QTime time; 40 QTime time;
38 time.start(); 41 time.start();
39 int el = time.elapsed(); 42 int el = time.elapsed();
40 qWarning("QTimer for loading %d", el/1000 ); 43 Opie::Core::owarn << "QTimer for loading " << el/1000 << oendl;
41} 44}
42TodoManager::~TodoManager() { 45TodoManager::~TodoManager() {
43 delete m_db; 46 delete m_db;
@@ -46,7 +49,7 @@ OPimTodo TodoManager::event(int uid ) {
46 return m_db->find( uid ); 49 return m_db->find( uid );
47} 50}
48void TodoManager::updateList() { 51void TodoManager::updateList() {
49 qWarning("update list"); 52 Opie::Core::owarn << "update lists" << oendl;
50 m_list = m_db->allRecords(); 53 m_list = m_db->allRecords();
51} 54}
52OPimTodoAccess::List TodoManager::list() const{ 55OPimTodoAccess::List TodoManager::list() const{