diff options
Diffstat (limited to 'src/sql/qsqlquery.cpp')
-rw-r--r-- | src/sql/qsqlquery.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sql/qsqlquery.cpp b/src/sql/qsqlquery.cpp index fec2343..ad49b8a 100644 --- a/src/sql/qsqlquery.cpp +++ b/src/sql/qsqlquery.cpp @@ -1173,8 +1173,8 @@ QVariant QSqlQuery::boundValue( int pos ) const QSqlQuery query; ... // Examine the bound values - bound using named binding - QMap<QString, QVariant>::ConstIterator it; - QMap<QString, QVariant> vals = query.boundValues(); + QStringVariantMap::ConstIterator it; + QStringVariantMap vals = query.boundValues(); for ( it = vals.begin(); it != vals.end(); ++it ) qWarning( "Placeholder: " + it.key() + ", Value: " + (*it).toString() ); ... @@ -1189,10 +1189,10 @@ QVariant QSqlQuery::boundValue( int pos ) const \endcode */ -QMap<QString,QVariant> QSqlQuery::boundValues() const +QStringVariantMap QSqlQuery::boundValues() const { if ( !d->sqlResult || !d->sqlResult->extension() ) - return QMap<QString,QVariant>(); + return QStringVariantMap(); return d->sqlResult->extension()->boundValues(); } |