summaryrefslogtreecommitdiffstats
path: root/kexi/tests/newapi
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/tests/newapi')
-rw-r--r--kexi/tests/newapi/dr_prop_test.h2
-rw-r--r--kexi/tests/newapi/main.cpp4
-rw-r--r--kexi/tests/newapi/parser_test.h4
3 files changed, 5 insertions, 5 deletions
diff --git a/kexi/tests/newapi/dr_prop_test.h b/kexi/tests/newapi/dr_prop_test.h
index 2cbee8b2..d7bfd5b3 100644
--- a/kexi/tests/newapi/dr_prop_test.h
+++ b/kexi/tests/newapi/dr_prop_test.h
@@ -23,7 +23,7 @@
int drPropTest()
{
TQValueList<TQCString> names = driver->propertyNames();
- kdDebug() << TQString("%1 properties found:").arg(names.count()) << endl;
+ kdDebug() << TQString("%1 properties found:").tqarg(names.count()) << endl;
for (TQValueList<TQCString>::ConstIterator it = names.constBegin(); it!=names.constEnd(); ++it) {
kdDebug() << " - " << (*it) << ":"
<< " caption=\"" << driver->propertyCaption(*it) << "\""
diff --git a/kexi/tests/newapi/main.cpp b/kexi/tests/newapi/main.cpp
index 9eaff2ab..d02dbc9b 100644
--- a/kexi/tests/newapi/main.cpp
+++ b/kexi/tests/newapi/main.cpp
@@ -137,7 +137,7 @@ int main(int argc, char** argv)
}
test_name = args->getOption("test");
if (!tests.contains(test_name)) {
- kdDebug() << TQString("No such test \"%1\". Use --help.").arg(test_name.data()) << endl;
+ kdDebug() << TQString("No such test \"%1\". Use --help.").tqarg(test_name.data()) << endl;
RETURN(1);
}
@@ -152,7 +152,7 @@ int main(int argc, char** argv)
db_name_required = false;
}
if ((int)args->count()<minargs) {
- kdDebug() << TQString("Not enough args (%1 required). Use --help.").arg(minargs) << endl;
+ kdDebug() << TQString("Not enough args (%1 required). Use --help.").tqarg(minargs) << endl;
RETURN(1);
}
diff --git a/kexi/tests/newapi/parser_test.h b/kexi/tests/newapi/parser_test.h
index d02017ec..90c25d7c 100644
--- a/kexi/tests/newapi/parser_test.h
+++ b/kexi/tests/newapi/parser_test.h
@@ -42,8 +42,8 @@ int parserTest(const char *st, const TQStringList& params)
}
else {
KexiDB::ParserError err = parser.error();
- kdDebug() << TQString("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;