summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/mergecalendars.cc4
-rw-r--r--tests/testcategories.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/mergecalendars.cc b/tests/mergecalendars.cc
index ea2970d..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;
diff --git a/tests/testcategories.cc b/tests/testcategories.cc
index c68be84..aefb8b9 100644
--- a/tests/testcategories.cc
+++ b/tests/testcategories.cc
@@ -53,7 +53,7 @@ TQStringList categories( const PilotAppInfoBase *appinfo )
TQString cat = appinfo->categoryName(i);
if (!cat.isEmpty())
{
- TQString s = CSL1("(%1:%2)").tqarg(i).tqarg(cat);
+ TQString s = CSL1("(%1:%2)").arg(i).arg(cat);
cats.append(s);
}
}