summaryrefslogtreecommitdiffstats
path: root/kpilot/tests/mergecalendars.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kpilot/tests/mergecalendars.cc')
-rw-r--r--kpilot/tests/mergecalendars.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/kpilot/tests/mergecalendars.cc b/kpilot/tests/mergecalendars.cc
index 221da26b0..898eb8c06 100644
--- a/kpilot/tests/mergecalendars.cc
+++ b/kpilot/tests/mergecalendars.cc
@@ -63,9 +63,9 @@ int main(int argc, char **argv)
int debug_level= (args->isSet("verbose")) ? 4 : 0;
- QString korgfile = args->getOption("korgfile");
- QString newfile = args->getOption("newfile");
- QString category = args->getOption("category");
+ TQString korgfile = args->getOption("korgfile");
+ TQString newfile = args->getOption("newfile");
+ TQString category = args->getOption("category");
if (korgfile.isEmpty())
{
@@ -84,8 +84,8 @@ int main(int argc, char **argv)
return 1;
}
- QString korgsave = QString("%1.updated").arg(korgfile);
- QString newfilesave = QString("%1.updated").arg(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( QString::fromLatin1("UTC") );
- KCal::CalendarLocal *calnew = new KCal::CalendarLocal( QString::fromLatin1("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;
@@ -137,7 +137,7 @@ int main(int argc, char **argv)
for (newIt = newEvents.begin(); newIt != newEvents.end(); ++newIt )
{
ev = *newIt;
- QString uid = ev->uid();
+ TQString uid = ev->uid();
if (debug_level)
DEBUGKPILOT << " - Looking at event: ["
<< ev->summary() << "], uid: ["
@@ -168,7 +168,7 @@ int main(int argc, char **argv)
// that matches up with this external event's UID
unsigned int numkorgremoved = 0;
- QString categoryToken = category;
+ TQString categoryToken = category;
// careful iterating and removing...
KCal::Event *next = 0;