summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/scripting/kexidb/kexidbdriver.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kexi/plugins/scripting/kexidb/kexidbdriver.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-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.h')
-rw-r--r--kexi/plugins/scripting/kexidb/kexidbdriver.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/kexi/plugins/scripting/kexidb/kexidbdriver.h b/kexi/plugins/scripting/kexidb/kexidbdriver.h
index edf7283c..786cbb1a 100644
--- a/kexi/plugins/scripting/kexidb/kexidbdriver.h
+++ b/kexi/plugins/scripting/kexidb/kexidbdriver.h
@@ -20,9 +20,9 @@
#ifndef KROSS_KEXIDB_KEXIDBDRIVER_H
#define KROSS_KEXIDB_KEXIDBDRIVER_H
-#include <qstring.h>
-#include <qvaluelist.h>
-//#include <qguardedptr.h>
+#include <tqstring.h>
+#include <tqvaluelist.h>
+//#include <tqguardedptr.h>
#include <api/object.h>
#include <api/variant.h>
@@ -67,7 +67,7 @@ namespace Kross { namespace KexiDB {
public:
KexiDBDriver(::KexiDB::Driver* driver);
virtual ~KexiDBDriver();
- virtual const QString getClassName() const;
+ virtual const TQString getClassName() const;
private:
@@ -79,30 +79,30 @@ namespace Kross { namespace KexiDB {
int versionMinor();
/** Driver-specific SQL string escaping. For example the " or ' char may
need to be escaped for values used within SQL-statements. */
- QString escapeString(const QString& s);
+ TQString escapeString(const TQString& s);
/** Returns true if this driver is file-based. */
bool isFileDriver();
/** Return a name of MIME type of files handled by this driver if it is a
file-based database's driver otherwise returns null string. */
- QString fileDBDriverMimeType();
+ TQString fileDBDriverMimeType();
/** Returns true if the passed string is a system object's name, eg. name
of build-in system table that cannot be used or created by a user. */
- bool isSystemObjectName(const QString& name);
+ bool isSystemObjectName(const TQString& name);
/** Returns true if the passed string is a system database's name, eg. name
of build-in, system database that cannot be used or created by a user. */
- bool isSystemDatabaseName(const QString& name);
+ bool isSystemDatabaseName(const TQString& name);
/** Returns true if the passed string is a system field's name, build-in
system field that cannot be used or created by a user. */
- bool isSystemFieldName(const QString& name);
+ bool isSystemFieldName(const TQString& name);
/** The as second argument passed string got escaped to be usable within
a SQL-statement and those escaped string got returned by the method.
The first argument defines the fieldtype to what we should escape the
second argument to. */
- QString valueToSQL(const QString& fieldtype, const QVariant& value);
+ TQString valueToSQL(const TQString& fieldtype, const TQVariant& value);
/** Create a new KexiDBConnection object and return it. */
KexiDBConnection* createConnection(KexiDBConnectionData* data);
/** Return a list of KexiDBConnection objects. */
- QPtrList< ::KexiDB::Connection > connectionsList();
+ TQPtrList< ::KexiDB::Connection > connectionsList();
private:
::KexiDB::Driver* m_driver;