summaryrefslogtreecommitdiffstats
path: root/src/sql
diff options
context:
space:
mode:
authorPaul Wicking <paul.wicking@qt.io>2021-05-25 15:04:48 +0200
committerPaul Wicking <paul.wicking@qt.io>2021-05-26 13:06:56 +0200
commita1dfe27955ab2da27551d19500c2d2a01d46e470 (patch)
treee1ebc6b2f9a255f5b0c3f2df0833f2f6f431fe74 /src/sql
parentae021882330abc5f6fbaadca290e6e5670c89028 (diff)
Doc: Use \deprecated instead of \obsolete
Task-number: QTBUG-93990 Change-Id: I4e512354a49dde6678ca89cabc56bc76ba666bb3 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/sql')
-rw-r--r--src/sql/kernel/qsqlfield.cpp6
-rw-r--r--src/sql/kernel/qsqlquery.cpp4
-rw-r--r--src/sql/models/qsqlquerymodel.cpp2
3 files changed, 6 insertions, 6 deletions
diff --git a/src/sql/kernel/qsqlfield.cpp b/src/sql/kernel/qsqlfield.cpp
index a4d4309da2..65594b35fe 100644
--- a/src/sql/kernel/qsqlfield.cpp
+++ b/src/sql/kernel/qsqlfield.cpp
@@ -156,7 +156,7 @@ public:
/*!
\fn QSqlField::QSqlField(const QString &fieldName, QVariant::Type type, const QString &table)
- \obsolete Use the constructor using a QMetaType instead
+ \deprecated Use the constructor using a QMetaType instead.
\overload
Constructs an empty field called \a fieldName of variant type \a
@@ -419,7 +419,7 @@ void QSqlField::setMetaType(QMetaType type)
/*!
\fn QVariant::Type QSqlField::type() const
- \obsolete Use metaType() instead.
+ \deprecated Use metaType() instead.
Returns the field's type as stored in the database.
Note that the actual value might have a different type,
@@ -432,7 +432,7 @@ void QSqlField::setMetaType(QMetaType type)
/*!
\fn void QSqlField::setType(QVariant::Type type)
- \obsolete Use setMetaType() instead.
+ \deprecated Use setMetaType() instead.
Set's the field's variant type to \a type.
diff --git a/src/sql/kernel/qsqlquery.cpp b/src/sql/kernel/qsqlquery.cpp
index b78566e828..86d086c866 100644
--- a/src/sql/kernel/qsqlquery.cpp
+++ b/src/sql/kernel/qsqlquery.cpp
@@ -251,7 +251,7 @@ QSqlQuery::~QSqlQuery()
/*!
Constructs a copy of \a other.
- \obsolete QSqlQuery cannot be meaningfully copied. Prepared
+ \deprecated QSqlQuery cannot be meaningfully copied. Prepared
statements, bound values and so on will not work correctly, depending
on your database driver (for instance, changing the copy will affect
the original). Treat QSqlQuery as a move-only type instead.
@@ -266,7 +266,7 @@ QSqlQuery::QSqlQuery(const QSqlQuery& other)
/*!
Assigns \a other to this object.
- \obsolete QSqlQuery cannot be meaningfully copied. Prepared
+ \deprecated QSqlQuery cannot be meaningfully copied. Prepared
statements, bound values and so on will not work correctly, depending
on your database driver (for instance, changing the copy will affect
the original). Treat QSqlQuery as a move-only type instead.
diff --git a/src/sql/models/qsqlquerymodel.cpp b/src/sql/models/qsqlquerymodel.cpp
index ceada8cae2..2e87c0fb44 100644
--- a/src/sql/models/qsqlquerymodel.cpp
+++ b/src/sql/models/qsqlquerymodel.cpp
@@ -420,7 +420,7 @@ void QSqlQueryModel::queryChange()
/*!
- \obsolete
+ \deprecated
\overload
\since 4.5