summaryrefslogtreecommitdiffstats
path: root/src/sql/qsqlextension_p.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2018-11-01 22:46:51 +0900
committerMichele Calgaro <[email protected]>2018-11-01 22:46:51 +0900
commit9226c02de91e8f4c50552186fe696d82771f70fa (patch)
tree4ebd05d9e85c84925d609c6b83d75f0bcba7792d /src/sql/qsqlextension_p.cpp
parent7c9a149f4ce92375b22e16ccfe0b348fc8547f20 (diff)
downloadtqt3-9226c02de91e8f4c50552186fe696d82771f70fa.tar.gz
tqt3-9226c02de91e8f4c50552186fe696d82771f70fa.zip
Improved class name used in previous commit. Suggestion comes from
Slavek :-) Signed-off-by: Michele Calgaro <[email protected]> Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'src/sql/qsqlextension_p.cpp')
-rw-r--r--src/sql/qsqlextension_p.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sql/qsqlextension_p.cpp b/src/sql/qsqlextension_p.cpp
index 23ca2adc4..190f6d21b 100644
--- a/src/sql/qsqlextension_p.cpp
+++ b/src/sql/qsqlextension_p.cpp
@@ -68,7 +68,7 @@ void TQSqlExtension::bindValue( const TQString& placeholder, const TQVariant& va
if ( index.contains( (int)values.count() ) ) {
index[ (int)values.count() ] = placeholder;
}
- values[ placeholder ] = TQtParam( val, tp );
+ values[ placeholder ] = TQSqlParam( val, tp );
}
void TQSqlExtension::bindValue( int pos, const TQVariant& val, TQSql::ParameterType tp )
@@ -76,7 +76,7 @@ void TQSqlExtension::bindValue( int pos, const TQVariant& val, TQSql::ParameterT
bindm = BindByPosition;
index[ pos ] = TQString::number( pos );
TQString nm = TQString::number( pos );
- values[ nm ] = TQtParam( val, tp );
+ values[ nm ] = TQSqlParam( val, tp );
}
void TQSqlExtension::addBindValue( const TQVariant& val, TQSql::ParameterType tp )
@@ -130,7 +130,7 @@ TQVariant TQSqlExtension::boundValue( int pos ) const
TQMap<TQString, TQVariant> TQSqlExtension::boundValues() const
{
- TQMap<TQString, TQtParam>::ConstIterator it;
+ TQMap<TQString, TQSqlParam>::ConstIterator it;
TQMap<TQString, TQVariant> m;
if ( bindm == BindByName ) {
for ( it = values.begin(); it != values.end(); ++it )