summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/sql/tqsqldriver.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-09 22:25:47 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-09 22:25:47 -0500
commiteaa7ee2e0bbca40ba3173c4304f81957e8964291 (patch)
tree4f793aa48a5080aedc94ce6e519c3b86708f2b88 /tqtinterface/qt4/src/sql/tqsqldriver.cpp
parent79a9d7a46a20d4a0923bc06fc471fdc2176ef865 (diff)
downloadexperimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.tar.gz
experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains
Diffstat (limited to 'tqtinterface/qt4/src/sql/tqsqldriver.cpp')
-rw-r--r--tqtinterface/qt4/src/sql/tqsqldriver.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/tqtinterface/qt4/src/sql/tqsqldriver.cpp b/tqtinterface/qt4/src/sql/tqsqldriver.cpp
index 3f8cdca..3f6f137 100644
--- a/tqtinterface/qt4/src/sql/tqsqldriver.cpp
+++ b/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 );
}