From 015b47678ac84c33f9f70c1856f4019da9cf3d3b Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Fri, 17 Jan 2025 15:39:50 +0100 Subject: [PATCH] Doc: Fix QDoc warnings in icore.cpp Change-Id: I2d042af2c2e7f7678b76a519256f6983428e22a4 Reviewed-by: Eike Ziller --- src/plugins/coreplugin/icore.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/plugins/coreplugin/icore.cpp b/src/plugins/coreplugin/icore.cpp index 41681ef8cbc..a4428717693 100644 --- a/src/plugins/coreplugin/icore.cpp +++ b/src/plugins/coreplugin/icore.cpp @@ -122,6 +122,8 @@ Q_LOGGING_CATEGORY(coreLog, "qtc.core", QtWarningMsg) Uses a regular epression as a search term. \value FindPreserveCase Preserves the case when replacing search terms. + \value DontFindBinaryFiles + Does not include binary files in search results. */ /*! @@ -871,8 +873,14 @@ Utils::InfoBar *ICore::infoBar() /*! Shows a modal dialog that asks the user if they want to restart \QC. + Uses \a text as the main text in the dialog, and triggers a restart - of \QC if the user chooses that option. + of \QC if the user selects the \uicontrol {Restart Now} button. + + The dialog also has a \uicontrol Later button. To change the text of the + \uicontrol Later button, set \a altButtonText. + + Returns \c true if the user selects \uicontrol {Restart Now}. */ bool ICore::askForRestart(const QString &text, const QString &altButtonText) {