diff options
author | Michele Calgaro <[email protected]> | 2018-11-01 22:07:23 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2018-11-01 22:07:23 +0900 |
commit | 7c9a149f4ce92375b22e16ccfe0b348fc8547f20 (patch) | |
tree | 8898a5439d67dc78f6f4ea3379dd96cee9466b19 /src/sql/qsqlextension_p.cpp | |
parent | 7f4d09f20062c6b26342f91d5cec5d859c58d662 (diff) | |
download | tqt3-7c9a149f4ce92375b22e16ccfe0b348fc8547f20.tar.gz tqt3-7c9a149f4ce92375b22e16ccfe0b348fc8547f20.zip |
Fixed FTBFS caused by name conflict with new postgres server dev 11 package.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/sql/qsqlextension_p.cpp')
-rw-r--r-- | src/sql/qsqlextension_p.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sql/qsqlextension_p.cpp b/src/sql/qsqlextension_p.cpp index 0a032055c..23ca2adc4 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 ] = Param( val, tp ); + values[ placeholder ] = TQtParam( 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 ] = Param( val, tp ); + values[ nm ] = TQtParam( 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, Param>::ConstIterator it; + TQMap<TQString, TQtParam>::ConstIterator it; TQMap<TQString, TQVariant> m; if ( bindm == BindByName ) { for ( it = values.begin(); it != values.end(); ++it ) |