summaryrefslogtreecommitdiffstats
path: root/tests/testcategories.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:24 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:24 -0600
commit631a19d8c5c5f69dc0d941c1997806fb422c79a6 (patch)
tree48a1a5d40ca2aa276b04f95398d9fba3fd9d7d8a /tests/testcategories.cc
parent87cd441352f3f2f1b2279bb47ebbb54ced81194f (diff)
downloadkpilot-631a19d8c5c5f69dc0d941c1997806fb422c79a6.tar.gz
kpilot-631a19d8c5c5f69dc0d941c1997806fb422c79a6.zip
Rename a number of old tq methods that are no longer tq specific
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;