summaryrefslogtreecommitdiffstats
path: root/tests/mergecalendars.cc
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:57:02 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:57:02 -0600
commitd55caffa62947ca831ae0c21aada3b55eec24027 (patch)
tree8a2a0ff56d7023011016a7e385f0f3b60ffea095 /tests/mergecalendars.cc
parent631a19d8c5c5f69dc0d941c1997806fb422c79a6 (diff)
downloadkpilot-d55caffa62947ca831ae0c21aada3b55eec24027.tar.gz
kpilot-d55caffa62947ca831ae0c21aada3b55eec24027.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 631a19d8c5c5f69dc0d941c1997806fb422c79a6.
Diffstat (limited to 'tests/mergecalendars.cc')
-rw-r--r--tests/mergecalendars.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/mergecalendars.cc b/tests/mergecalendars.cc
index 898eb8c..2fc1e78 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").arg(korgfile);
- TQString newfilesave = TQString("%1.updated").arg(newfile);
+ TQString korgsave = TQString("%1.updated").tqarg(korgfile);
+ TQString newfilesave = TQString("%1.updated").tqarg(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::fromLatin1("UTC") );
- KCal::CalendarLocal *calnew = new KCal::CalendarLocal( TQString::fromLatin1("UTC") );
+ KCal::CalendarLocal *calkorg = new KCal::CalendarLocal( TQString::tqfromLatin1("UTC") );
+ KCal::CalendarLocal *calnew = new KCal::CalendarLocal( TQString::tqfromLatin1("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->setSyncStatus(KCal::Incidence::SYNCMOD);
+ ev->setSynctqStatus(KCal::Incidence::SYNCMOD);
++numkorgpilotids;
}