summaryrefslogtreecommitdiffstats
path: root/kexi/tests/newapi/parser_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/tests/newapi/parser_test.h')
-rw-r--r--kexi/tests/newapi/parser_test.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/kexi/tests/newapi/parser_test.h b/kexi/tests/newapi/parser_test.h
index 14409961..90c25d7c 100644
--- a/kexi/tests/newapi/parser_test.h
+++ b/kexi/tests/newapi/parser_test.h
@@ -20,7 +20,7 @@
#ifndef PARSER_TEST_H
#define PARSER_TEST_H
-int parserTest(const char *st, const QStringList& params)
+int parserTest(const char *st, const TQStringList& params)
{
int r = 0;
@@ -31,10 +31,10 @@ int parserTest(const char *st, const QStringList& params)
KexiDB::Parser parser(conn);
- const bool ok = parser.parse(QString::fromLocal8Bit( st ));
+ const bool ok = parser.parse(TQString::fromLocal8Bit( st ));
KexiDB::QuerySchema *q = parser.query();
- QValueList<QVariant> variantParams;
- foreach( QStringList::ConstIterator, it, params )
+ TQValueList<TQVariant> variantParams;
+ foreach( TQStringList::ConstIterator, it, params )
variantParams.append(*it);
if (ok && q) {
cout << q->debugString().latin1() << '\n';
@@ -42,8 +42,8 @@ int parserTest(const char *st, const QStringList& params)
}
else {
KexiDB::ParserError err = parser.error();
- kdDebug() << QString("Error = %1\ntype = %2\nat = %3").arg(err.error())
- .arg(err.type()).arg(err.at()) << endl;
+ kdDebug() << TQString("Error = %1\ntype = %2\nat = %3").tqarg(err.error())
+ .tqarg(err.type()).tqarg(err.at()) << endl;
r = 1;
}
delete q;