Widgets: Add missing deprecation version markers

Change-Id: I277e481c7e802f97d1394d7421e9527083df8482
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Kai Köhne 2024-01-20 17:20:16 +01:00
parent 1d46bb3c92
commit 8ed75d3a75

View File

@ -2266,7 +2266,7 @@ int QMessageBox::information(QWidget *parent, const QString &title, const QStrin
} }
/*! /*!
\deprecated since 6.2. Use the overload taking StandardButtons instead. \deprecated [6.2] Use the overload taking StandardButtons instead.
\overload \overload
Displays an information message box with the given \a title and Displays an information message box with the given \a title and
@ -2565,7 +2565,7 @@ int QMessageBox::critical(QWidget *parent, const QString &title, const QString&
/*! /*!
\deprecated \deprecated [6.2]
Returns the text of the message box button \a button, or Returns the text of the message box button \a button, or
an empty string if the message box does not contain the button. an empty string if the message box does not contain the button.
@ -2586,7 +2586,7 @@ QString QMessageBox::buttonText(int button) const
} }
/*! /*!
\deprecated \deprecated [6.2]
Sets the text of the message box button \a button to \a text. Sets the text of the message box button \a button to \a text.
Setting the text of a button that is not in the message box is Setting the text of a button that is not in the message box is
@ -2924,7 +2924,7 @@ void qRequireVersion(int argc, char *argv[], QAnyStringView req)
#if QT_DEPRECATED_SINCE(6,2) #if QT_DEPRECATED_SINCE(6,2)
/*! /*!
\deprecated \deprecated [6.2]
Returns the pixmap used for a standard icon. This allows the Returns the pixmap used for a standard icon. This allows the
pixmaps to be used in more complex message boxes. \a icon pixmaps to be used in more complex message boxes. \a icon