diff options
Diffstat (limited to 'kexi/tests/parser/main.cpp')
-rw-r--r-- | kexi/tests/parser/main.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kexi/tests/parser/main.cpp b/kexi/tests/parser/main.cpp index f6ee5742..803e0193 100644 --- a/kexi/tests/parser/main.cpp +++ b/kexi/tests/parser/main.cpp @@ -1,7 +1,7 @@ #include <iostream> #include <string> -#include <qfileinfo.h> +#include <tqfileinfo.h> #include <kdebug.h> #include <kinstance.h> @@ -13,24 +13,24 @@ #include <kexidb/parser/parser.h> using namespace std; -QCString prgname; +TQCString prgname; int main(int argc, char **argv) { kdDebug() << "main()" << endl; - QFileInfo info=QFileInfo(argv[0]); + TQFileInfo info=TQFileInfo(argv[0]); prgname = info.baseName().latin1(); KInstance instance( prgname ); if (argc<2) { return 1; } - QCString drv_name(argv[1]); - QCString db_name = QString(argv[2]).lower().latin1(); + TQCString drv_name(argv[1]); + TQCString db_name = TQString(argv[2]).lower().latin1(); KexiDB::DriverManager manager; // = KexiDB::DriverManager::self(); - QStringList names = manager.driverNames(); + TQStringList names = manager.driverNames(); kdDebug() << "DRIVERS: " << endl; - for (QStringList::ConstIterator it = names.constBegin(); it != names.constEnd() ; ++it) + for (TQStringList::ConstIterator it = names.constBegin(); it != names.constEnd() ; ++it) kdDebug() << *it << endl; if (manager.error()) { kdDebug() << manager.errorMsg() << endl; |