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/plugins/scripting/kexidb/kexidbdriver.cpp | |
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/plugins/scripting/kexidb/kexidbdriver.cpp')
-rw-r--r-- | kexi/plugins/scripting/kexidb/kexidbdriver.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kexi/plugins/scripting/kexidb/kexidbdriver.cpp b/kexi/plugins/scripting/kexidb/kexidbdriver.cpp index f019b237..0429c9f3 100644 --- a/kexi/plugins/scripting/kexidb/kexidbdriver.cpp +++ b/kexi/plugins/scripting/kexidb/kexidbdriver.cpp @@ -20,8 +20,8 @@ #include "kexidbdriver.h" #include "kexidbdrivermanager.h" -#include <qvaluelist.h> -#include <qptrlist.h> +#include <tqvaluelist.h> +#include <tqptrlist.h> #include <kdebug.h> #include <kexidb/connection.h> @@ -51,7 +51,7 @@ KexiDBDriver::~KexiDBDriver() { } -const QString KexiDBDriver::getClassName() const +const TQString KexiDBDriver::getClassName() const { return "Kross::KexiDB::KexiDBDriver"; } @@ -59,12 +59,12 @@ const QString KexiDBDriver::getClassName() const bool KexiDBDriver::isValid() { return m_driver->isValid(); } int KexiDBDriver::versionMajor() { return m_driver->version().major; } int KexiDBDriver::versionMinor() { return m_driver->version().minor; } -QString KexiDBDriver::escapeString(const QString& s) { return m_driver->escapeString(s); } +TQString KexiDBDriver::escapeString(const TQString& s) { return m_driver->escapeString(s); } bool KexiDBDriver::isFileDriver() { return m_driver->isFileDriver(); } -QString KexiDBDriver::fileDBDriverMimeType() { return m_driver->fileDBDriverMimeType(); } -bool KexiDBDriver::isSystemObjectName(const QString& name) { return m_driver->isSystemObjectName(name); } -bool KexiDBDriver::isSystemDatabaseName(const QString& name) { return m_driver->isSystemDatabaseName(name); } -bool KexiDBDriver::isSystemFieldName(const QString& name) { return m_driver->isSystemFieldName(name); } -QString KexiDBDriver::valueToSQL(const QString& fieldtype, const QVariant& value) { return m_driver->valueToSQL(fieldtype, value); } +TQString KexiDBDriver::fileDBDriverMimeType() { return m_driver->fileDBDriverMimeType(); } +bool KexiDBDriver::isSystemObjectName(const TQString& name) { return m_driver->isSystemObjectName(name); } +bool KexiDBDriver::isSystemDatabaseName(const TQString& name) { return m_driver->isSystemDatabaseName(name); } +bool KexiDBDriver::isSystemFieldName(const TQString& name) { return m_driver->isSystemFieldName(name); } +TQString KexiDBDriver::valueToSQL(const TQString& fieldtype, const TQVariant& value) { return m_driver->valueToSQL(fieldtype, value); } KexiDBConnection* KexiDBDriver::createConnection(KexiDBConnectionData* data) { return new KexiDBConnection( m_driver->createConnection(*data) ); } -QPtrList< ::KexiDB::Connection > KexiDBDriver::connectionsList() { return m_driver->connectionsList(); } +TQPtrList< ::KexiDB::Connection > KexiDBDriver::connectionsList() { return m_driver->connectionsList(); } |