diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kexi/tests/parser | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip |
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kexi/tests/parser')
-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; |