Skip to content

Commit

Permalink
Widgets: Add missing deprecation version markers
Browse files Browse the repository at this point in the history
Change-Id: I277e481c7e802f97d1394d7421e9527083df8482
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
  • Loading branch information
kkoehne committed Jan 28, 2024
1 parent 1d46bb3 commit 8ed75d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/widgets/dialogs/qmessagebox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Displays an information message box with the given \a title and
Expand Down Expand Up @@ -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
an empty string if the message box does not contain the button.
Expand All @@ -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.
Setting the text of a button that is not in the message box is
Expand Down Expand Up @@ -2924,7 +2924,7 @@ void qRequireVersion(int argc, char *argv[], QAnyStringView req)

#if QT_DEPRECATED_SINCE(6,2)
/*!
\deprecated
\deprecated [6.2]
Returns the pixmap used for a standard icon. This allows the
pixmaps to be used in more complex message boxes. \a icon
Expand Down

0 comments on commit 8ed75d3

Please sign in to comment.