From fd634b0c147bef3af1fa68454e4d8a9cda4f9243 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 1 Jun 2019 19:44:57 +0900 Subject: Adjusted to use new TQStringVariantMap type. Signed-off-by: Michele Calgaro --- src/sql/qsqlquery.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/sql/qsqlquery.cpp') diff --git a/src/sql/qsqlquery.cpp b/src/sql/qsqlquery.cpp index 829e46947..35d22b5d8 100644 --- a/src/sql/qsqlquery.cpp +++ b/src/sql/qsqlquery.cpp @@ -1173,8 +1173,8 @@ TQVariant TQSqlQuery::boundValue( int pos ) const TQSqlQuery query; ... // Examine the bound values - bound using named binding - TQMap::ConstIterator it; - TQMap vals = query.boundValues(); + TQStringVariantMap::ConstIterator it; + TQStringVariantMap vals = query.boundValues(); for ( it = vals.begin(); it != vals.end(); ++it ) tqWarning( "Placeholder: " + it.key() + ", Value: " + (*it).toString() ); ... @@ -1189,10 +1189,10 @@ TQVariant TQSqlQuery::boundValue( int pos ) const \endcode */ -TQMap TQSqlQuery::boundValues() const +TQStringVariantMap TQSqlQuery::boundValues() const { if ( !d->sqlResult || !d->sqlResult->extension() ) - return TQMap(); + return TQStringVariantMap(); return d->sqlResult->extension()->boundValues(); } -- cgit v1.2.1