summaryrefslogtreecommitdiffstats
path: root/tests/testcategories.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/testcategories.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/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 aefb8b9..a29a307 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)").arg(i).arg(cat);
+ TQString s = CSL1("(%1:%2)").tqarg(i).tqarg(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::fromLatin1(funnyname+funnyname_length-i-3);
+ TQString name = TQString::tqfromLatin1(funnyname+funnyname_length-i-3);
if (!appinfo->setCategoryName(i,name))
{
WARNINGKPILOT << "Failed to set category " << i << " name to <" << name << ">" << endl;