summaryrefslogtreecommitdiffstats
path: root/kpilot/tests/testdatabase.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kpilot/tests/testdatabase.cc')
-rw-r--r--kpilot/tests/testdatabase.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/kpilot/tests/testdatabase.cc b/kpilot/tests/testdatabase.cc
index b1a4ddbe0..02b43c6be 100644
--- a/kpilot/tests/testdatabase.cc
+++ b/kpilot/tests/testdatabase.cc
@@ -105,7 +105,7 @@ int checkDatabase(const char *path, recordInfo *info)
{
FUNCTIONSETUP;
- PilotLocalDatabase db(QString::fromLatin1(path));
+ PilotLocalDatabase db(TQString::fromLatin1(path));
if (!db.isOpen())
{
kdDebug() << "No database " << path << endl;
@@ -166,9 +166,9 @@ const char *categoryNames[4] =
"impersonal"
} ;
-QStringList listCategories()
+TQStringList listCategories()
{
- QStringList cats;
+ TQStringList cats;
PilotLocalDatabase *l = new PilotLocalDatabase("./data/MemoDB");
PilotMemoInfo *m = new PilotMemoInfo(l);
@@ -186,12 +186,12 @@ QStringList listCategories()
for (int i=0; i<4; i++)
{
- QString s = m->category(i);
+ TQString s = m->category(i);
kdDebug() << "Category " << i << ": " << (s.isEmpty() ? CSL1("<empty>") : s) << endl;
cats.append(s);
/*
if (i<((sizeof(categoryNames) / sizeof(categoryNames[0]))))
- m->setCategoryName(i,QString::fromLatin1(categoryNames[i]));
+ m->setCategoryName(i,TQString::fromLatin1(categoryNames[i]));
*/
}
@@ -205,8 +205,8 @@ QStringList listCategories()
int checkCategories()
{
- QStringList l = listCategories();
- QStringList m = listCategories();
+ TQStringList l = listCategories();
+ TQStringList m = listCategories();
if (l.isEmpty() || m.isEmpty()) return ERR;
if (l!=m) return ERR;
@@ -221,7 +221,7 @@ int checkMemo()
PilotMemoInfo *m = new PilotMemoInfo(l);
m->dump();
- QString c = m->category(1);
+ TQString c = m->category(1);
if (c != CSL1("Business"))
{
kdDebug() << "* Category 1 is not 'Business' but " << c << endl;