Diffstat (limited to 'libopie/pim/otodoaccessxml.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie/pim/otodoaccessxml.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie/pim/otodoaccessxml.cpp b/libopie/pim/otodoaccessxml.cpp index f688735..4a5cb33 100644 --- a/libopie/pim/otodoaccessxml.cpp +++ b/libopie/pim/otodoaccessxml.cpp | |||
@@ -559,25 +559,25 @@ QString OTodoAccessXML::toString( const OTodo& ev )const { | |||
559 | if ( ev.hasRecurrence() ) { | 559 | if ( ev.hasRecurrence() ) { |
560 | str += ev.recurrence().toString(); | 560 | str += ev.recurrence().toString(); |
561 | } | 561 | } |
562 | if ( ev.hasStartDate() ) | 562 | if ( ev.hasStartDate() ) |
563 | str += "StartDate=\""+ OConversion::dateToString( ev.startDate() ) +"\" "; | 563 | str += "StartDate=\""+ OConversion::dateToString( ev.startDate() ) +"\" "; |
564 | if ( ev.hasCompletedDate() ) | 564 | if ( ev.hasCompletedDate() ) |
565 | str += "CompletedDate=\""+ OConversion::dateToString( ev.completedDate() ) +"\" "; | 565 | str += "CompletedDate=\""+ OConversion::dateToString( ev.completedDate() ) +"\" "; |
566 | if ( ev.hasState() ) | 566 | if ( ev.hasState() ) |
567 | str += "State=\""+QString::number( ev.state().state() )+"\" "; | 567 | str += "State=\""+QString::number( ev.state().state() )+"\" "; |
568 | 568 | ||
569 | /* | 569 | /* |
570 | * save reminders and notifiers! | 570 | * save reminders and notifiers! |
571 | * DATE_TIME:DURATION:SOUND:NOT_USED_YET;OTHER_DATE_TIME:OTHER:DURATION:SOUND:.... | 571 | * DATE_TIME:DURATION:SOUND:NOT_USED_YET;OTHER_DATE_TIME:OTHER_DURATION:SOUND:.... |
572 | */ | 572 | */ |
573 | if ( ev.hasNotifiers() ) { | 573 | if ( ev.hasNotifiers() ) { |
574 | OPimNotifyManager manager = ev.notifiers(); | 574 | OPimNotifyManager manager = ev.notifiers(); |
575 | OPimNotifyManager::Alarms alarms = manager.alarms(); | 575 | OPimNotifyManager::Alarms alarms = manager.alarms(); |
576 | if (!alarms.isEmpty() ) { | 576 | if (!alarms.isEmpty() ) { |
577 | QStringList als; | 577 | QStringList als; |
578 | OPimNotifyManager::Alarms::Iterator it = alarms.begin(); | 578 | OPimNotifyManager::Alarms::Iterator it = alarms.begin(); |
579 | for ( ; it != alarms.end(); ++it ) { | 579 | for ( ; it != alarms.end(); ++it ) { |
580 | /* only if time is valid */ | 580 | /* only if time is valid */ |
581 | if ( (*it).dateTime().isValid() ) { | 581 | if ( (*it).dateTime().isValid() ) { |
582 | als << OConversion::dateTimeToString( (*it).dateTime() ) | 582 | als << OConversion::dateTimeToString( (*it).dateTime() ) |
583 | + ":" + QString::number( (*it).duration() ) | 583 | + ":" + QString::number( (*it).duration() ) |