summaryrefslogtreecommitdiff
path: root/core/pim/todo/todomanager.cpp
authordrw <drw>2004-04-02 22:15:36 (UTC)
committer drw <drw>2004-04-02 22:15:36 (UTC)
commitedd008d91ca57453601d0c2098936287d98975e6 (patch) (side-by-side diff)
treeffdc1d494333537e33a3ad0390f83968cb884966 /core/pim/todo/todomanager.cpp
parent6f335843b89f60fe009b43a4134e9b3753fff974 (diff)
downloadopie-edd008d91ca57453601d0c2098936287d98975e6.zip
opie-edd008d91ca57453601d0c2098936287d98975e6.tar.gz
opie-edd008d91ca57453601d0c2098936287d98975e6.tar.bz2
Use ODebug (another 35 down...) - all of core/pim is converted.
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
@@ -22,34 +22,37 @@
    --        :-=` this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
+
+#include <opie2/odebug.h>
+
#include <qpe/categoryselect.h>
#include "todomanager.h"
using namespace Todo;
TodoManager::TodoManager( QObject *obj )
: QObject( obj ) {
m_db = 0l;
QTime time;
time.start();
int el = time.elapsed();
- qWarning("QTimer for loading %d", el/1000 );
+ Opie::Core::owarn << "QTimer for loading " << el/1000 << oendl;
}
TodoManager::~TodoManager() {
delete m_db;
}
OPimTodo TodoManager::event(int uid ) {
return m_db->find( uid );
}
void TodoManager::updateList() {
- qWarning("update list");
+ Opie::Core::owarn << "update lists" << oendl;
m_list = m_db->allRecords();
}
OPimTodoAccess::List TodoManager::list() const{
return m_list;
}
OPimTodoAccess::List TodoManager::sorted( bool asc, int so, int f, int cat ) {