summaryrefslogtreecommitdiffstats
path: root/libkcal/icalformatimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/icalformatimpl.cpp')
-rw-r--r--libkcal/icalformatimpl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libkcal/icalformatimpl.cpp b/libkcal/icalformatimpl.cpp
index 0af7b4c52..db3177fd2 100644
--- a/libkcal/icalformatimpl.cpp
+++ b/libkcal/icalformatimpl.cpp
@@ -1438,7 +1438,7 @@ void ICalFormatImpl::readIncidence(icalcomponent *parent, icaltimezone *tz, Inci
default: stat = Incidence::StatusNone; break;
}
if (stat != Incidence::StatusX)
- incidence->seStatus(stat);
+ incidence->setStatus(stat);
break;
}
@@ -2166,7 +2166,7 @@ bool ICalFormatImpl::populate( Calendar *cal, icalcomponent *calendar )
if (todo) {
if (todo->hasRecurrenceID()) {
TQString originalUid = todo->uid();
- todo->setUid(originalUid + TQString("-recur-%1").tqarg(todo->recurrenceID().toTime_t()));
+ todo->setUid(originalUid + TQString("-recur-%1").arg(todo->recurrenceID().toTime_t()));
if (!cal->todo(todo->uid())) {
if ( !cal->addTodo( todo ) ) {
cal->endBatchAdding();
@@ -2208,7 +2208,7 @@ bool ICalFormatImpl::populate( Calendar *cal, icalcomponent *calendar )
if (event) {
if (event->hasRecurrenceID()) {
TQString originalUid = event->uid();
- event->setUid(originalUid + TQString("-recur-%1").tqarg(event->recurrenceID().toTime_t()));
+ event->setUid(originalUid + TQString("-recur-%1").arg(event->recurrenceID().toTime_t()));
if (!cal->event(event->uid())) {
cal->addEvent(event);
if (!cal->event(originalUid)) {
@@ -2246,7 +2246,7 @@ bool ICalFormatImpl::populate( Calendar *cal, icalcomponent *calendar )
if (journal) {
if (journal->hasRecurrenceID()) {
TQString originalUid = journal->uid();
- journal->setUid(originalUid + TQString("-recur-%1").tqarg(journal->recurrenceID().toTime_t()));
+ journal->setUid(originalUid + TQString("-recur-%1").arg(journal->recurrenceID().toTime_t()));
if (!cal->journal(journal->uid())) {
cal->addJournal(journal);
if (!cal->event(originalUid)) {