summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2024-01-20 17:20:16 +0100
committerKai Köhne <kai.koehne@qt.io>2024-01-28 15:50:10 +0100
commit8ed75d3a75a377bf7575c7af479bca68390fb4a5 (patch)
treeb7ff1d04fcaa2419e73d22525f8112e80bb9ff03
parent1d46bb3c920a3e4c9fc4d09f759cd6ffae4080d1 (diff)
Widgets: Add missing deprecation version markers
Change-Id: I277e481c7e802f97d1394d7421e9527083df8482 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
-rw-r--r--src/widgets/dialogs/qmessagebox.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widgets/dialogs/qmessagebox.cpp b/src/widgets/dialogs/qmessagebox.cpp
index ded02a756a..cc8e985caf 100644
--- a/src/widgets/dialogs/qmessagebox.cpp
+++ b/src/widgets/dialogs/qmessagebox.cpp
@@ -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
@@ -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.
@@ -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
@@ -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