author | zecke <zecke> | 2002-09-28 13:30:31 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-09-28 13:30:31 (UTC) |
commit | 93f90487bf9d2b8937a4933aef2ee472b5cdc89c (patch) (side-by-side diff) | |
tree | e9bf4c608df27ab241c4ad293111cd291bd485b8 /libopie/pim/otodo.cpp | |
parent | 8a95ca149ff5eedc9215bb012c8d7d09cdcaf96c (diff) | |
download | opie-93f90487bf9d2b8937a4933aef2ee472b5cdc89c.zip opie-93f90487bf9d2b8937a4933aef2ee472b5cdc89c.tar.gz opie-93f90487bf9d2b8937a4933aef2ee472b5cdc89c.tar.bz2 |
remove debug output
move from Opie::XMLElement to custom parser
this cuts down loading 10.000 items from 22 seconds
to 4 seconds
-rw-r--r-- | libopie/pim/otodo.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libopie/pim/otodo.cpp b/libopie/pim/otodo.cpp index eb9dad3..6dd4c0e 100644 --- a/libopie/pim/otodo.cpp +++ b/libopie/pim/otodo.cpp @@ -151,49 +151,48 @@ void OTodo::setCompleted( bool completed ) } void OTodo::setHasDueDate( bool hasDate ) { changeOrModify(); data->hasDate = hasDate; } void OTodo::setHasAlarmDateTime( bool hasAlarmDateTime ) { changeOrModify(); data->hasAlarmDateTime = hasAlarmDateTime; } void OTodo::setDescription(const QString &desc ) { // qWarning( "desc " + desc ); changeOrModify(); data->desc = Qtopia::simplifyMultiLineSpace(desc ); } void OTodo::setSummary( const QString& sum ) { changeOrModify(); data->sum = sum; } void OTodo::setPriority(int prio ) { - qWarning("set priority %d", prio); changeOrModify(); data->priority = prio; } void OTodo::setDueDate( QDate date ) { changeOrModify(); data->date = date; } void OTodo::setAlarmDateTime( const QDateTime& alarm ) { changeOrModify(); data->alarmDateTime = alarm; } bool OTodo::isOverdue( ) { if( data->hasDate ) return QDate::currentDate() > data->date; return false; } void OTodo::setProgress(ushort progress ) { changeOrModify(); data->prog = progress; } |