diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-09 22:25:47 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-09 22:25:47 -0500 |
commit | 03256f3cd5149f3ff5f5f45765b0b0659db4e036 (patch) | |
tree | caabe9e1c0e3edfd06ea5aefd4d7279664cd9ede /experimental/tqtinterface/qt4/src/sql/tqsqldriver.cpp | |
parent | 0594950f65a713c2d12e8eb6ddd3f5f9b306ec08 (diff) | |
download | tde-03256f3cd5149f3ff5f5f45765b0b0659db4e036.tar.gz tde-03256f3cd5149f3ff5f5f45765b0b0659db4e036.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
Diffstat (limited to 'experimental/tqtinterface/qt4/src/sql/tqsqldriver.cpp')
-rw-r--r-- | experimental/tqtinterface/qt4/src/sql/tqsqldriver.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/experimental/tqtinterface/qt4/src/sql/tqsqldriver.cpp b/experimental/tqtinterface/qt4/src/sql/tqsqldriver.cpp index 3f8cdca97..3f6f13701 100644 --- a/experimental/tqtinterface/qt4/src/sql/tqsqldriver.cpp +++ b/experimental/tqtinterface/qt4/src/sql/tqsqldriver.cpp @@ -133,7 +133,7 @@ TQSqlDriver::~TQSqlDriver() bool TQSqlDriver::isOpen() const { if ( !qSqlDriverExtDict()->isEmpty() ) { - TQSqlDriverExtension *ext = qSqlDriverExtDict()->tqfind( (TQSqlDriver *) this ); + TQSqlDriverExtension *ext = qSqlDriverExtDict()->find( (TQSqlDriver *) this ); if ( ext ) return ext->isOpen(); } @@ -154,7 +154,7 @@ bool TQSqlDriver::isOpenError() const /*! \enum TQSqlDriver::DriverFeature - This enum tqcontains a list of features a driver may support. Use + This enum contains a list of features a driver may support. Use hasFeature() to query whether a feature is supported or not. \value Transactions whether the driver supports SQL transactions @@ -274,7 +274,7 @@ void TQSqlDriver::setLastError( const TQSqlError& e ) } /*! - Returns a TQSqlError object which tqcontains information about the + Returns a TQSqlError object which contains information about the last error that occurred on the database. */ @@ -289,7 +289,7 @@ TQSqlError TQSqlDriver::lastError() const The \a tableType argument describes what types of tables should be returned. Due to binary compatibility, the string - tqcontains the value of the enum TQSql::TableTypes as text. + contains the value of the enum TQSql::TableTypes as text. An empty string should be treated as TQSql::Tables for downward compatibility. @@ -386,7 +386,7 @@ TQString TQSqlDriver::nullText() const \i If \a field is character data, the value is returned enclosed in single quotation marks, which is appropriate for many SQL databases. Any embedded single-quote characters are escaped - (tqreplaced with two single-quote characters). If \a trimStrings is + (replaced with two single-quote characters). If \a trimStrings is TRUE (the default is FALSE), all trailing whitespace is trimmed from the field. @@ -448,7 +448,7 @@ TQString TQSqlDriver::formatValue( const TQSqlField* field, bool trimStrings ) c result.truncate( end ); } /* escape the "'" character */ - result.tqreplace( TQChar( '\'' ), "''" ); + result.replace( TQChar( '\'' ), "''" ); r = "'" + result + "'"; break; } @@ -499,7 +499,7 @@ bool TQSqlDriver::open( const TQString& db, const TQString& connOpts ) { if ( !qSqlOpenExtDict()->isEmpty() ) { - TQSqlOpenExtension *ext = qSqlOpenExtDict()->tqfind( (TQSqlDriver *) this ); + TQSqlOpenExtension *ext = qSqlOpenExtDict()->find( (TQSqlDriver *) this ); if ( ext ) return ext->open( db, user, password, host, port, connOpts ); } |