summaryrefslogtreecommitdiff
path: root/core/pim/todo/todotemplatemanager.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/todotemplatemanager.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/todotemplatemanager.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/todotemplatemanager.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/pim/todo/todotemplatemanager.cpp b/core/pim/todo/todotemplatemanager.cpp
index eeac51b..0b20d5a 100644
--- a/core/pim/todo/todotemplatemanager.cpp
+++ b/core/pim/todo/todotemplatemanager.cpp
@@ -1,3 +1,4 @@
+#include <opie2/odebug.h>
#include <opie2/otodoaccess.h>
#include <opie2/otodoaccessxml.h>
@@ -35,7 +36,7 @@ void TemplateManager::load() {
}
}
void TemplateManager::save() {
- qWarning("Saving!!!!");
+ Opie::Core::owarn << "Saving!!!!" << oendl;
Config conf("todolist_templates");
OPimTodoAccessXML *res = new OPimTodoAccessXML( "template",
@@ -49,7 +50,7 @@ void TemplateManager::save() {
for ( it = m_templates.begin(); it != m_templates.end(); ++it ) {
OPimTodo ev = it.data();
conf.setGroup( QString::number( ev.uid() ) );
- qWarning("Name" + it.key() );
+ Opie::Core::owarn << "Name " << it.key() << oendl;
conf.writeEntry("Name", it.key() );
db.add( ev );
}
@@ -57,7 +58,7 @@ void TemplateManager::save() {
}
void TemplateManager::addEvent( const QString& str,
const OPimTodo& ev) {
- qWarning("AddEvent"+ str );
+ Opie::Core::owarn << "AddEvent " << str << oendl;
OPimTodo todo = ev;
if( ev.uid() == 0 )
todo.setUid(1); // generate a new uid