summaryrefslogtreecommitdiff
path: root/libopie/pim/otodoaccess.cpp
authorzecke <zecke>2002-09-23 21:38:23 (UTC)
committer zecke <zecke>2002-09-23 21:38:23 (UTC)
commite0b04701b3c9182ba22f56e329f98c57af4e1fe2 (patch) (side-by-side diff)
treed5fa6fbae48d61aca7fefc09375fdcaf99ef4cb5 /libopie/pim/otodoaccess.cpp
parent47e87e10fada298a1027cf20d4d7f31a66dc1359 (diff)
downloadopie-e0b04701b3c9182ba22f56e329f98c57af4e1fe2.zip
opie-e0b04701b3c9182ba22f56e329f98c57af4e1fe2.tar.gz
opie-e0b04701b3c9182ba22f56e329f98c57af4e1fe2.tar.bz2
Updates
Diffstat (limited to 'libopie/pim/otodoaccess.cpp') (more/less context) (show whitespace changes)
-rw-r--r--libopie/pim/otodoaccess.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libopie/pim/otodoaccess.cpp b/libopie/pim/otodoaccess.cpp
index a65cf5c..8ec09bc 100644
--- a/libopie/pim/otodoaccess.cpp
+++ b/libopie/pim/otodoaccess.cpp
@@ -6,25 +6,25 @@
#include "otodoaccess.h"
OTodoAccess::OTodoAccess( OTodoAccessBackend* end )
: QObject(), OPimAccessTemplate<OTodo>( end ), m_todoBackEnd( end )
{
if (end == 0l )
m_todoBackEnd = new OTodoAccessXML( "Todolist" );
setBackEnd( m_todoBackEnd );
}
OTodoAccess::~OTodoAccess() {
- qWarning("~OTodoAccess");
+// qWarning("~OTodoAccess");
}
void OTodoAccess::mergeWith( const QValueList<OTodo>& list ) {
QValueList<OTodo>::ConstIterator it;
for ( it = list.begin(); it != list.end(); ++it ) {
replace( (*it) );
}
}
OTodoAccess::List OTodoAccess::effectiveToDos( const QDate& start,
const QDate& end,
bool includeNoDates ) {
QArray<int> ints = m_todoBackEnd->effectiveToDos( start, end, includeNoDates );
@@ -54,18 +54,18 @@ void OTodoAccess::addAlarm( const OTodo& event) {
}
}
void OTodoAccess::delAlarm( int uid) {
QDateTime schedule; // Create null DateTime
// I hope this will remove all scheduled alarms
// with the given uid !?
// If not: I have to rethink how to remove already
// scheduled events... (se)
// it should be fine -zecke
- qWarning("Removing alarm for event with uid %d", uid );
+// qWarning("Removing alarm for event with uid %d", uid );
AlarmServer::deleteAlarm( schedule ,
"QPE/Application/todolist",
"alarm(QDateTime,int)", uid );
}