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/mysqlcursor.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/mysqlcursor.h')
-rw-r--r-- | kexi/kexidb/drivers/mySQL/mysqlcursor.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kexi/kexidb/drivers/mySQL/mysqlcursor.h b/kexi/kexidb/drivers/mySQL/mysqlcursor.h index 09ace22b2..4f48d6024 100644 --- a/kexi/kexidb/drivers/mySQL/mysqlcursor.h +++ b/kexi/kexidb/drivers/mySQL/mysqlcursor.h @@ -29,7 +29,7 @@ class MySqlCursorData; class MySqlCursor: public Cursor { public: - MySqlCursor(Connection* conn, const QString& statement = QString::null, uint cursor_options = NoOptions ); + MySqlCursor(Connection* conn, const TQString& statement = TQString(), uint cursor_options = NoOptions ); MySqlCursor(Connection* conn, QuerySchema& query, uint options = NoOptions ); virtual ~MySqlCursor(); virtual bool drv_open(); @@ -37,23 +37,23 @@ public: // virtual bool drv_moveFirst(); virtual void drv_getNextRecord(); //virtual bool drv_getPrevRecord(); - virtual QVariant value(uint); + virtual TQVariant value(uint); virtual void drv_clearServerResult(); virtual void drv_appendCurrentRecordToBuffer(); virtual void drv_bufferMovePointerNext(); virtual void drv_bufferMovePointerPrev(); - virtual void drv_bufferMovePointerTo(Q_LLONG to); + virtual void drv_bufferMovePointerTo(TQ_LLONG to); virtual const char** rowData() const; virtual void storeCurrentRow(RowData &data) const; // virtual bool save(RowData& data, RowEditBuffer& buf); virtual int serverResult(); - virtual QString serverResultName(); - virtual QString serverErrorMsg(); + virtual TQString serverResultName(); + virtual TQString serverErrorMsg(); protected: - QVariant pValue(uint pos) const; + TQVariant pValue(uint pos) const; // MYSQL_RES *m_res; // MYSQL_ROW m_row; // MYSQL *my_conn; |