QSqlField: fix missing deprecation macro

Change-Id: Ia544da629d495abdfdd0efe0e0991124a9f5d7ae
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
bb10
Zhao Yuhang 2024-03-17 17:08:43 +08:00 committed by Yuhang Zhao
parent f67f63c2f3
commit 90217f37ca
1 changed files with 4 additions and 0 deletions

View File

@ -221,6 +221,7 @@ void QSqlField::setDefaultValue(const QVariant &value)
d->def = value;
}
#if QT_DEPRECATED_SINCE(6, 8)
/*!
\internal
\deprecated [6.8] This internal value is no longer used.
@ -230,6 +231,7 @@ void QSqlField::setSqlType(int type)
detach();
d->tp = type;
}
#endif
/*!
Sets \l generated to \a gen.
@ -470,6 +472,7 @@ QVariant QSqlField::defaultValue() const
return d->def;
}
#if QT_DEPRECATED_SINCE(6, 8)
/*!
\internal
\deprecated [6.8] This internal value is no longer used.
@ -483,6 +486,7 @@ int QSqlField::typeID() const
{
return d->tp;
}
#endif
/*!
\property QSqlField::generated