Diffstat (limited to 'core/pim/todo/todotemplatemanager.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/todotemplatemanager.cpp | 7 |
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 |