summaryrefslogtreecommitdiffstats
path: root/src/widgets/dialogs
diff options
context:
space:
mode:
authorPaul Wicking <paul.wicking@qt.io>2021-05-25 15:04:48 +0200
committerPaul Wicking <paul.wicking@qt.io>2021-05-26 13:06:56 +0200
commita1dfe27955ab2da27551d19500c2d2a01d46e470 (patch)
treee1ebc6b2f9a255f5b0c3f2df0833f2f6f431fe74 /src/widgets/dialogs
parentae021882330abc5f6fbaadca290e6e5670c89028 (diff)
Doc: Use \deprecated instead of \obsolete
Task-number: QTBUG-93990 Change-Id: I4e512354a49dde6678ca89cabc56bc76ba666bb3 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/widgets/dialogs')
-rw-r--r--src/widgets/dialogs/qmessagebox.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/widgets/dialogs/qmessagebox.cpp b/src/widgets/dialogs/qmessagebox.cpp
index f3c3c487d7..9969a05da6 100644
--- a/src/widgets/dialogs/qmessagebox.cpp
+++ b/src/widgets/dialogs/qmessagebox.cpp
@@ -2051,7 +2051,7 @@ void QMessageBoxPrivate::retranslateStrings()
#if QT_DEPRECATED_SINCE(6,2)
/*!
- \obsolete
+ \deprecated
Constructs a message box with a \a title, a \a text, an \a icon,
and up to three buttons.
@@ -2115,7 +2115,7 @@ QMessageBox::QMessageBox(const QString &title, const QString &text, Icon icon,
}
/*!
- \obsolete
+ \deprecated
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
}
/*!
- \obsolete
+ \deprecated
\overload
Displays an information message box with the given \a title and
@@ -2201,7 +2201,7 @@ int QMessageBox::information(QWidget *parent, const QString &title, const QStrin
}
/*!
- \obsolete
+ \deprecated
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 +2247,7 @@ int QMessageBox::question(QWidget *parent, const QString &title, const QString&
}
/*!
- \obsolete
+ \deprecated
\overload
Displays a question message box with the given \a title and \a
@@ -2287,7 +2287,7 @@ int QMessageBox::question(QWidget *parent, const QString &title, const QString&
/*!
- \obsolete
+ \deprecated
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 +2333,7 @@ int QMessageBox::warning(QWidget *parent, const QString &title, const QString& t
}
/*!
- \obsolete
+ \deprecated
\overload
Displays a warning message box with the given \a title and \a
@@ -2372,7 +2372,7 @@ int QMessageBox::warning(QWidget *parent, const QString &title, const QString& t
}
/*!
- \obsolete
+ \deprecated
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 +2419,7 @@ int QMessageBox::critical(QWidget *parent, const QString &title, const QString&
}
/*!
- \obsolete
+ \deprecated
\overload
Displays a critical error message box with the given \a title and
@@ -2459,7 +2459,7 @@ int QMessageBox::critical(QWidget *parent, const QString &title, const QString&
/*!
- \obsolete
+ \deprecated
Returns the text of the message box button \a button, or
an empty string if the message box does not contain the button.
@@ -2480,7 +2480,7 @@ QString QMessageBox::buttonText(int button) const
}
/*!
- \obsolete
+ \deprecated
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
@@ -2729,7 +2729,7 @@ void QMessageBoxPrivate::helperDone(QDialog::DialogCode code, QPlatformDialogHel
#if QT_DEPRECATED_SINCE(6,2)
/*!
- \obsolete
+ \deprecated
Returns the pixmap used for a standard icon. This allows the
pixmaps to be used in more complex message boxes. \a icon
@@ -2749,7 +2749,7 @@ QPixmap QMessageBox::standardIcon(Icon icon)
/*!
\typedef QMessageBox::Button
- \obsolete
+ \deprecated
Use QMessageBox::StandardButton instead.
*/