diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 11:38:41 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-19 11:38:41 -0600 |
commit | f0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (patch) | |
tree | 1fc538e179833e62caec21956bfe47a252be5a72 /kexi/tests/newapi | |
parent | 11191ef0b9908604d1d7aaca382b011ef22c454c (diff) | |
download | koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.tar.gz koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'kexi/tests/newapi')
-rw-r--r-- | kexi/tests/newapi/dr_prop_test.h | 2 | ||||
-rw-r--r-- | kexi/tests/newapi/main.cpp | 4 | ||||
-rw-r--r-- | kexi/tests/newapi/parser_test.h | 4 |
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 d7bfd5b3..2cbee8b2 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:").tqarg(names.count()) << endl; + kdDebug() << TQString("%1 properties found:").arg(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 d02dbc9b..9eaff2ab 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.").tqarg(test_name.data()) << endl; + kdDebug() << TQString("No such test \"%1\". Use --help.").arg(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.").tqarg(minargs) << endl; + kdDebug() << TQString("Not enough args (%1 required). Use --help.").arg(minargs) << endl; RETURN(1); } diff --git a/kexi/tests/newapi/parser_test.h b/kexi/tests/newapi/parser_test.h index 90c25d7c..d02017ec 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").tqarg(err.error()) - .tqarg(err.type()).tqarg(err.at()) << endl; + kdDebug() << TQString("Error = %1\ntype = %2\nat = %3").arg(err.error()) + .arg(err.type()).arg(err.at()) << endl; r = 1; } delete q; |