diff options
Diffstat (limited to 'kexi/kexidb/preparedstatement.h')
-rw-r--r-- | kexi/kexidb/preparedstatement.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kexi/kexidb/preparedstatement.h b/kexi/kexidb/preparedstatement.h index 368140e5..463c3c44 100644 --- a/kexi/kexidb/preparedstatement.h +++ b/kexi/kexidb/preparedstatement.h @@ -20,7 +20,7 @@ #ifndef KEXIDB_PREPAREDSTATEMENT_H #define KEXIDB_PREPAREDSTATEMENT_H -#include <qvariant.h> +#include <tqvariant.h> #include <ksharedptr.h> #include "field.h" @@ -39,7 +39,7 @@ class FieldList; connection.insertRecord(*tabelSchema, dbRowBuffer). To use PreparedStatement, create is using KexiDB::Connection:prepareStatement(), - providing table schema; set up arguments using operator << ( const QVariant& value ); + providing table schema; set up arguments using operator << ( const TQVariant& value ); and call execute() when ready. PreparedStatement objects are accessed using KDE shared pointers, i.e KexiDB::PreparedStatement::Ptr, so you do not need to remember about destroying them. However, when underlying Connection object @@ -83,12 +83,12 @@ class KEXI_DB_EXPORT PreparedStatement : public KShared //! Creates Prepared statement. In your code use KexiDB::Connection:prepareStatement() instead. PreparedStatement(StatementType type, ConnectionInternal& conn, FieldList& fields, - const QStringList& where = QStringList()); + const TQStringList& where = TQStringList()); virtual ~PreparedStatement(); //! Appends argument \a value to the statement. - PreparedStatement& operator<< ( const QVariant& value ); + PreparedStatement& operator<< ( const TQVariant& value ); //! Clears arguments of the prepared statement. Usually used after execute() void clearArguments(); @@ -103,12 +103,12 @@ class KEXI_DB_EXPORT PreparedStatement : public KShared protected: //! @todo is this portable across backends? - QCString generateStatementString(); + TQCString generateStatementString(); StatementType m_type; FieldList *m_fields; - QValueList<QVariant> m_args; - QStringList* m_where; + TQValueList<TQVariant> m_args; + TQStringList* m_where; Field::List* m_whereFields; }; |