diff --git a/drivers/common/include/orm/drivers/sqlquery.hpp b/drivers/common/include/orm/drivers/sqlquery.hpp index 0d21133cf..75d13ed17 100644 --- a/drivers/common/include/orm/drivers/sqlquery.hpp +++ b/drivers/common/include/orm/drivers/sqlquery.hpp @@ -112,7 +112,7 @@ namespace Orm::Drivers /*! Get the placeholder value at the given index position. */ QVariant boundValue(size_type index) const; /*! Get a QVariant vector of all bound values. */ - QVariantList boundValues() const; + QList boundValues() const; /* Result sets */ /*! Get a SqlRecord containing the field information for the current query. */ diff --git a/drivers/common/include/orm/drivers/sqlresult.hpp b/drivers/common/include/orm/drivers/sqlresult.hpp index d3e20810f..6d728729d 100644 --- a/drivers/common/include/orm/drivers/sqlresult.hpp +++ b/drivers/common/include/orm/drivers/sqlresult.hpp @@ -121,9 +121,9 @@ namespace Orm::Drivers size_type boundValuesCount() const noexcept; /*! Get a QVariant vector of all bound values. */ - QVariantList boundValues() const noexcept; + QList boundValues() const noexcept; /*! Get a reference to the QVariant vector of all bound values. */ - QVariantList &boundValues() noexcept; + QList &boundValues() noexcept; /*! Clear all bound values. */ void clearBoundValues(); diff --git a/drivers/common/src/orm/drivers/sqlquery.cpp b/drivers/common/src/orm/drivers/sqlquery.cpp index 33fd89af2..341524c6d 100644 --- a/drivers/common/src/orm/drivers/sqlquery.cpp +++ b/drivers/common/src/orm/drivers/sqlquery.cpp @@ -236,7 +236,7 @@ QVariant SqlQuery::boundValue(const size_type index) const return m_sqlResult->boundValue(index); } -QVariantList SqlQuery::boundValues() const +QList SqlQuery::boundValues() const { return m_sqlResult->boundValues(); } diff --git a/drivers/common/src/orm/drivers/sqlresult.cpp b/drivers/common/src/orm/drivers/sqlresult.cpp index 11a27a9fa..c2b62e14d 100644 --- a/drivers/common/src/orm/drivers/sqlresult.cpp +++ b/drivers/common/src/orm/drivers/sqlresult.cpp @@ -178,13 +178,13 @@ SqlResult::size_type SqlResult::boundValuesCount() const noexcept return static_cast(d->boundValues.size()); } -QVariantList SqlResult::boundValues() const noexcept +QList SqlResult::boundValues() const noexcept { Q_D(const SqlResult); return d->boundValues; } -QVariantList &SqlResult::boundValues() noexcept +QList &SqlResult::boundValues() noexcept { Q_D(SqlResult); return d->boundValues;