diff options
Diffstat (limited to 'kexi/plugins/scripting/kexidb/kexidbdriver.h')
-rw-r--r-- | kexi/plugins/scripting/kexidb/kexidbdriver.h | 22 |
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; |