summaryrefslogtreecommitdiffstats
path: root/src/sql/qsqlextension_p.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-11-01 22:52:03 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-11-01 22:52:03 +0900
commit19ef3e4359eed834049596c7bc07cb18b204a2f1 (patch)
tree1f7e3392a23c84f9b1472b1efb01a6906db06a7a /src/sql/qsqlextension_p.cpp
parent4a5da4685a8607a87602e065d1e3abdbf66c9ff9 (diff)
downloadqt3-19ef3e4359eed834049596c7bc07cb18b204a2f1.tar.gz
qt3-19ef3e4359eed834049596c7bc07cb18b204a2f1.zip
Improved class name used in previous commit. Suggestion comes from Slavek :-)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
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 137ef50..da6a2ac 100644
--- a/src/sql/qsqlextension_p.cpp
+++ b/src/sql/qsqlextension_p.cpp
@@ -68,7 +68,7 @@ void QSqlExtension::bindValue( const QString& placeholder, const QVariant& val,
if ( index.contains( (int)values.count() ) ) {
index[ (int)values.count() ] = placeholder;
}
- values[ placeholder ] = QtParam( val, tp );
+ values[ placeholder ] = QSqlParam( val, tp );
}
void QSqlExtension::bindValue( int pos, const QVariant& val, QSql::ParameterType tp )
@@ -76,7 +76,7 @@ void QSqlExtension::bindValue( int pos, const QVariant& val, QSql::ParameterType
bindm = BindByPosition;
index[ pos ] = QString::number( pos );
QString nm = QString::number( pos );
- values[ nm ] = QtParam( val, tp );
+ values[ nm ] = QSqlParam( val, tp );
}
void QSqlExtension::addBindValue( const QVariant& val, QSql::ParameterType tp )
@@ -130,7 +130,7 @@ QVariant QSqlExtension::boundValue( int pos ) const
QMap<QString, QVariant> QSqlExtension::boundValues() const
{
- QMap<QString, QtParam>::ConstIterator it;
+ QMap<QString, QSqlParam>::ConstIterator it;
QMap<QString, QVariant> m;
if ( bindm == BindByName ) {
for ( it = values.begin(); it != values.end(); ++it )