summaryrefslogtreecommitdiffstats
path: root/src/widgets/dialogs/qmessagebox.cpp
diff options
context:
space:
mode:
authorNico Vertriest <nico.vertriest@qt.io>2021-06-16 05:49:10 +0200
committerNico Vertriest <nico.vertriest@qt.io>2021-07-27 06:44:42 +0000
commitd700ccc00745e697468cea6ff95ac3dd079cf993 (patch)
tree5920e48434e305d6390d226cb72c1681befedb58 /src/widgets/dialogs/qmessagebox.cpp
parent5d0542a356be1c47e2f99e6ba38b8e520ca0710c (diff)
Doc: document deprecated classes in Qt Widgets
Fixes: QTBUG-94536 Pick-to: 6.2 Change-Id: Ibef78df4f17d084218e2cfd021692c09a621a2d0 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/widgets/dialogs/qmessagebox.cpp')
-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