summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Vertriest <nico.vertriest@qt.io>2021-06-16 05:49:10 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-07-27 09:07:48 +0000
commit181f51f8ab1cc4436ffa8c7bddbf42bc5d799f36 (patch)
tree6772d2852244557eddb4f1ad064f0c2d8d4ef8ec
parent7d3390d0ebf953f427a2bd4d8158ed7c4acf9a49 (diff)
Doc: document deprecated classes in Qt Widgets
Fixes: QTBUG-94536 Change-Id: Ibef78df4f17d084218e2cfd021692c09a621a2d0 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> (cherry picked from commit d700ccc00745e697468cea6ff95ac3dd079cf993) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/widgets/dialogs/qmessagebox.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/widgets/dialogs/qmessagebox.cpp b/src/widgets/dialogs/qmessagebox.cpp
index 9969a05da6..e1bf141079 100644
--- a/src/widgets/dialogs/qmessagebox.cpp
+++ b/src/widgets/dialogs/qmessagebox.cpp
@@ -2115,7 +2115,7 @@ QMessageBox::QMessageBox(const QString &title, const QString &text, Icon icon,
}
/*!
- \deprecated
+ \deprecated [6.2]. Use the overload taking StandardButtons instead.
Opens an information message box with the given \a title and the
\a text. The dialog may have up to three buttons. Each of the
@@ -2161,7 +2161,7 @@ int QMessageBox::information(QWidget *parent, const QString &title, const QStrin
}
/*!
- \deprecated
+ \deprecated since 6.2. Use the overload taking StandardButtons instead.
\overload
Displays an information message box with the given \a title and
@@ -2201,7 +2201,8 @@ int QMessageBox::information(QWidget *parent, const QString &title, const QStrin
}
/*!
- \deprecated
+ \deprecated [6.2]. Use the overload taking StandardButtons
+ instead.
Opens a question message box with the given \a title and \a text.
The dialog may have up to three buttons. Each of the buttons, \a
@@ -2247,7 +2248,7 @@ int QMessageBox::question(QWidget *parent, const QString &title, const QString&
}
/*!
- \deprecated
+ \deprecated [6.2]. Use the overload taking StandardButtons instead.
\overload
Displays a question message box with the given \a title and \a
@@ -2287,7 +2288,7 @@ int QMessageBox::question(QWidget *parent, const QString &title, const QString&
/*!
- \deprecated
+ \deprecated [6.2]. Use the overload taking StandardButtons instead.
Opens a warning message box with the given \a title and \a text.
The dialog may have up to three buttons. Each of the button
@@ -2333,7 +2334,7 @@ int QMessageBox::warning(QWidget *parent, const QString &title, const QString& t
}
/*!
- \deprecated
+ \deprecated [6.2]. Use the overload taking StandardButtons instead.
\overload
Displays a warning message box with the given \a title and \a
@@ -2372,7 +2373,7 @@ int QMessageBox::warning(QWidget *parent, const QString &title, const QString& t
}
/*!
- \deprecated
+ \deprecated [6.2]. Use the overload taking StandardButtons instead.
Opens a critical message box with the given \a title and \a text.
The dialog may have up to three buttons. Each of the button
@@ -2419,7 +2420,7 @@ int QMessageBox::critical(QWidget *parent, const QString &title, const QString&
}
/*!
- \deprecated
+ \deprecated [6.2]. Use the overload taking StandardButtons instead.
\overload
Displays a critical error message box with the given \a title and