summaryrefslogtreecommitdiffstats
path: root/tests/testcategories.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testcategories.cc')
-rw-r--r--tests/testcategories.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testcategories.cc b/tests/testcategories.cc
index a29a307..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);
}
}
@@ -123,7 +123,7 @@ void categoryNames( const TQString &dir )
DEBUGKPILOT << "# Expect three truncation errors and two bad category numbers." << endl;
for (unsigned int i=0; i<Pilot::CATEGORY_COUNT+2; i++)
{
- TQString name = TQString::tqfromLatin1(funnyname+funnyname_length-i-3);
+ TQString name = TQString::fromLatin1(funnyname+funnyname_length-i-3);
if (!appinfo->setCategoryName(i,name))
{
WARNINGKPILOT << "Failed to set category " << i << " name to <" << name << ">" << endl;