diff options
Diffstat (limited to 'kresources/kolab/kcal/task.cpp')
-rw-r--r-- | kresources/kolab/kcal/task.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kresources/kolab/kcal/task.cpp b/kresources/kolab/kcal/task.cpp index 488daf4af..ccbb03e58 100644 --- a/kresources/kolab/kcal/task.cpp +++ b/kresources/kolab/kcal/task.cpp @@ -126,7 +126,7 @@ int Task::percentCompleted() const return mPercentCompleted; } -void Task::seStatus( KCal::Incidence::Status status ) +void Task::setStatus( KCal::Incidence::Status status ) { mStatus = status; } @@ -234,17 +234,17 @@ bool Task::loadAttribute( TQDomElement& element ) setPercentCompleted( percent ); } else if ( tagName == "status" ) { if ( element.text() == "in-progress" ) - seStatus( KCal::Incidence::StatusInProcess ); + setStatus( KCal::Incidence::StatusInProcess ); else if ( element.text() == "completed" ) - seStatus( KCal::Incidence::StatusCompleted ); + setStatus( KCal::Incidence::StatusCompleted ); else if ( element.text() == "waiting-on-someone-else" ) - seStatus( KCal::Incidence::StatusNeedsAction ); + setStatus( KCal::Incidence::StatusNeedsAction ); else if ( element.text() == "deferred" ) // Guessing a status here - seStatus( KCal::Incidence::StatusCanceled ); + setStatus( KCal::Incidence::StatusCanceled ); else // Default - seStatus( KCal::Incidence::StatusNone ); + setStatus( KCal::Incidence::StatusNone ); } else if ( tagName == "due-date" ) { setDueDate( element.text() ); } else if ( tagName == "parent" ) { @@ -374,7 +374,7 @@ void Task::setFields( const KCal::Todo* task ) setPriority( task->priority() ); setPercentCompleted( task->percentComplete() ); - seStatus( task->status() ); + setStatus( task->status() ); setHasStartDate( task->hasStartDate() ); if ( task->hasDueDate() ) { @@ -447,7 +447,7 @@ void Task::saveTo( KCal::Todo* task ) task->setPriority( priority() ); task->setPercentComplete( percentCompleted() ); - task->seStatus( status() ); + task->setStatus( status() ); task->setHasStartDate( hasStartDate() ); task->setHasDueDate( hasDueDate() ); if ( hasDueDate() ) |