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/kexidb/drivers/mySQL/mysqlconnection_p.h | |
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/kexidb/drivers/mySQL/mysqlconnection_p.h')
-rw-r--r-- | kexi/kexidb/drivers/mySQL/mysqlconnection_p.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kexi/kexidb/drivers/mySQL/mysqlconnection_p.h b/kexi/kexidb/drivers/mySQL/mysqlconnection_p.h index 5bb77487..85d8c57b 100644 --- a/kexi/kexidb/drivers/mySQL/mysqlconnection_p.h +++ b/kexi/kexidb/drivers/mySQL/mysqlconnection_p.h @@ -22,7 +22,7 @@ the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, #include <kexidb/connection_p.h> -#ifdef Q_WS_WIN +#ifdef TQ_WS_WIN #include <my_global.h> #endif #include <mysql_version.h> @@ -31,8 +31,8 @@ the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, typedef struct st_mysql MYSQL; #undef bool -class QCString; -class QString; +class TQCString; +class TQString; #ifdef MYSQLMIGRATE_H #define NAMESPACE KexiMigration @@ -64,20 +64,20 @@ class MySqlConnectionInternal : public KexiDB::ConnectionInternal bool db_disconnect(); //! Selects a database that is about to be used - bool useDatabase(const QString &dbName = QString::null); + bool useDatabase(const TQString &dbName = TQString()); //! Execute SQL statement on the database - bool executeSQL( const QString& statement ); + bool executeSQL( const TQString& statement ); //! Stores last operation's result virtual void storeResult(); //! Escapes a table, database or column name - QString escapeIdentifier(const QString& str) const; + TQString escapeIdentifier(const TQString& str) const; MYSQL *mysql; bool mysql_owned; //!< true if mysql pointer should be freed on destruction - QString errmsg; //!< server-specific message of last operation + TQString errmsg; //!< server-specific message of last operation int res; //!< result code of last operation on server }; |