diff options
Diffstat (limited to 'tests/mergecalendars.cc')
-rw-r--r-- | tests/mergecalendars.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/mergecalendars.cc b/tests/mergecalendars.cc index 2fc1e78..898eb8c 100644 --- a/tests/mergecalendars.cc +++ b/tests/mergecalendars.cc @@ -84,8 +84,8 @@ int main(int argc, char **argv) return 1; } - TQString korgsave = TQString("%1.updated").tqarg(korgfile); - TQString newfilesave = TQString("%1.updated").tqarg(newfile); + TQString korgsave = TQString("%1.updated").arg(korgfile); + TQString newfilesave = TQString("%1.updated").arg(newfile); DEBUGKPILOT << "Using korgfile: [" << korgfile << "]" << endl; @@ -96,8 +96,8 @@ int main(int argc, char **argv) DEBUGKPILOT << "Will save newfile to: [" << newfilesave << "]" << endl << endl; - KCal::CalendarLocal *calkorg = new KCal::CalendarLocal( TQString::tqfromLatin1("UTC") ); - KCal::CalendarLocal *calnew = new KCal::CalendarLocal( TQString::tqfromLatin1("UTC") ); + KCal::CalendarLocal *calkorg = new KCal::CalendarLocal( TQString::fromLatin1("UTC") ); + KCal::CalendarLocal *calnew = new KCal::CalendarLocal( TQString::fromLatin1("UTC") ); if (!calkorg || !calnew) { WARNINGKPILOT << "Unable to create base calendar objects." << endl; @@ -154,7 +154,7 @@ int main(int argc, char **argv) << pilotId << "]" << endl; ev->setPilotId(pilotId); - ev->setSynctqStatus(KCal::Incidence::SYNCMOD); + ev->setSyncStatus(KCal::Incidence::SYNCMOD); ++numkorgpilotids; } |