diff options
Diffstat (limited to 'experimental/tqtinterface/qt4/src/sql/drivers/mysql/tqsql_mysql.cpp')
-rw-r--r-- | experimental/tqtinterface/qt4/src/sql/drivers/mysql/tqsql_mysql.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/experimental/tqtinterface/qt4/src/sql/drivers/mysql/tqsql_mysql.cpp b/experimental/tqtinterface/qt4/src/sql/drivers/mysql/tqsql_mysql.cpp index f97cd2ee3..e13f12b12 100644 --- a/experimental/tqtinterface/qt4/src/sql/drivers/mysql/tqsql_mysql.cpp +++ b/experimental/tqtinterface/qt4/src/sql/drivers/mysql/tqsql_mysql.cpp @@ -476,7 +476,7 @@ bool TQMYSTQLDriver::open( const TQString& db, for ( it = raw.begin(); it != raw.end(); ++it ) { TQString tmp( *it ); int idx; - if ( (idx = tmp.tqfind( '=' )) != -1 ) { + if ( (idx = tmp.find( '=' )) != -1 ) { TQString val( tmp.mid( idx + 1 ) ); val.simplifyWhiteSpace(); if ( val == "TRUE" || val == "1" ) @@ -764,7 +764,7 @@ TQString TQMYSTQLDriver::formatValue( const TQSqlField* field, bool trimStrings case TQVariant::CString: { // Escape '\' characters r = TQSqlDriver::formatValue( field ); - r.tqreplace( "\\", "\\\\" ); + r.replace( "\\", "\\\\" ); break; } default: |