From d6bf951b76d0a14d0975fb05e71364159c56fce6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Tue, 27 Jun 2023 00:13:44 +0200 Subject: [PATCH] Fix missing references to 'Qt Widgets - Application Example' Amends eda71105ff9a516059c6dd6643ff446a82edac81 Change-Id: I44fa9acef37667d635d5770ce5d50fc52d92aa88 Reviewed-by: Richard Moe Gustavsen (cherry picked from commit 35063254fdba9704fd1411e9bd5ba7984c303e93) Reviewed-by: Qt Cherry-pick Bot --- examples/widgets/doc/src/diagramscene.qdoc | 4 +--- examples/widgets/doc/src/tablet.qdoc | 2 -- src/widgets/dialogs/qfiledialog.cpp | 3 +-- src/widgets/dialogs/qmessagebox.cpp | 2 +- src/widgets/kernel/qwidget.cpp | 3 +-- src/widgets/widgets/qmainwindow.cpp | 1 - src/widgets/widgets/qmenu.cpp | 2 +- src/widgets/widgets/qplaintextedit.cpp | 2 +- src/widgets/widgets/qstatusbar.cpp | 2 +- src/widgets/widgets/qtextedit.cpp | 2 +- src/widgets/widgets/qtoolbar.cpp | 2 +- 11 files changed, 9 insertions(+), 16 deletions(-) diff --git a/examples/widgets/doc/src/diagramscene.qdoc b/examples/widgets/doc/src/diagramscene.qdoc index 057031462da..1ce869374ae 100644 --- a/examples/widgets/doc/src/diagramscene.qdoc +++ b/examples/widgets/doc/src/diagramscene.qdoc @@ -121,9 +121,7 @@ We show an example of the creation of an action. The functionality the actions trigger is discussed in the slots we - connect the actions to. You can see the \l{Qt Widgets - Application - Example}{application example} if you need a high-level - introduction to actions. + connect the actions to. The is the \c createMenus() function: diff --git a/examples/widgets/doc/src/tablet.qdoc b/examples/widgets/doc/src/tablet.qdoc index efbb769e647..e14e2292352 100644 --- a/examples/widgets/doc/src/tablet.qdoc +++ b/examples/widgets/doc/src/tablet.qdoc @@ -88,8 +88,6 @@ in a submenu of the \b Tablet menu, for selecting which property of each QTabletEvent will be used to vary the translucency (alpha channel) of the line being drawn or color being airbrushed. - (See the \l{Qt Widgets - Application Example}{application example} if you want - a high-level introduction to QActions.) \snippet widgets/tablet/mainwindow.cpp 9 diff --git a/src/widgets/dialogs/qfiledialog.cpp b/src/widgets/dialogs/qfiledialog.cpp index 1f88608fe99..8336c11015e 100644 --- a/src/widgets/dialogs/qfiledialog.cpp +++ b/src/widgets/dialogs/qfiledialog.cpp @@ -138,8 +138,7 @@ Q_GLOBAL_STATIC(QUrl, lastVisitedDir) the user. You can set the \l DontUseNativeDialog option to ensure that the widget-based implementation will be used instead of the native dialog. - \sa QDir, QFileInfo, QFile, QColorDialog, QFontDialog, {Standard Dialogs Example}, - {Qt Widgets - Application Example} + \sa QDir, QFileInfo, QFile, QColorDialog, QFontDialog, {Standard Dialogs Example} */ /*! diff --git a/src/widgets/dialogs/qmessagebox.cpp b/src/widgets/dialogs/qmessagebox.cpp index e7fc7e5d255..9b51392901f 100644 --- a/src/widgets/dialogs/qmessagebox.cpp +++ b/src/widgets/dialogs/qmessagebox.cpp @@ -721,7 +721,7 @@ void QMessageBoxPrivate::_q_clicked(QPlatformDialogHelper::StandardButton button When an escape button can't be determined using these rules, pressing \uicontrol Esc has no effect. - \sa QDialogButtonBox, {Standard Dialogs Example}, {Qt Widgets - Application Example} + \sa QDialogButtonBox, {Standard Dialogs Example} */ /*! diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp index 16bdcd0c44f..212ea3a1060 100644 --- a/src/widgets/kernel/qwidget.cpp +++ b/src/widgets/kernel/qwidget.cpp @@ -11536,8 +11536,7 @@ void QWidgetPrivate::setWindowOpacity_sys(qreal level) its parent because other children of the parent might have been modified. - \sa windowTitle, {Qt Widgets - Application Example}, - {MDI Example} + \sa windowTitle, {MDI Example} */ bool QWidget::isWindowModified() const { diff --git a/src/widgets/widgets/qmainwindow.cpp b/src/widgets/widgets/qmainwindow.cpp index 00d8eb5a57a..19ee3b7812d 100644 --- a/src/widgets/widgets/qmainwindow.cpp +++ b/src/widgets/widgets/qmainwindow.cpp @@ -281,7 +281,6 @@ void QMainWindowPrivate::init() of the toolbars and dock widgets that are stored. \sa QMenuBar, QToolBar, QStatusBar, QDockWidget, - {Qt Widgets - Application Example}, {MDI Example}, {Menus Example} */ diff --git a/src/widgets/widgets/qmenu.cpp b/src/widgets/widgets/qmenu.cpp index ea984305eb8..391aee9cdaf 100644 --- a/src/widgets/widgets/qmenu.cpp +++ b/src/widgets/widgets/qmenu.cpp @@ -1710,7 +1710,7 @@ void QMenu::initStyleOption(QStyleOptionMenuItem *option, const QAction *action) \b{Important inherited functions:} addAction(), removeAction(), clear(), addSeparator(), and addMenu(). - \sa QMenuBar, {Qt Widgets - Application Example}, {Menus Example} + \sa QMenuBar, {Menus Example} */ diff --git a/src/widgets/widgets/qplaintextedit.cpp b/src/widgets/widgets/qplaintextedit.cpp index dadf154567a..637ed5fe92e 100644 --- a/src/widgets/widgets/qplaintextedit.cpp +++ b/src/widgets/widgets/qplaintextedit.cpp @@ -1187,7 +1187,7 @@ void QPlainTextEditPrivate::ensureViewportLayouted() fast log viewer (see setMaximumBlockCount()). - \sa QTextDocument, QTextCursor, {Qt Widgets - Application Example}, + \sa QTextDocument, QTextCursor {Syntax Highlighter Example}, {Rich Text Processing} */ diff --git a/src/widgets/widgets/qstatusbar.cpp b/src/widgets/widgets/qstatusbar.cpp index 7fc00246557..ea3913525c3 100644 --- a/src/widgets/widgets/qstatusbar.cpp +++ b/src/widgets/widgets/qstatusbar.cpp @@ -179,7 +179,7 @@ QRect QStatusBarPrivate::messageRect() const \image fusion-statusbar-sizegrip.png A status bar shown in the Fusion widget style - \sa QMainWindow, QStatusTipEvent, {Qt Widgets - Application Example} + \sa QMainWindow, QStatusTipEvent */ diff --git a/src/widgets/widgets/qtextedit.cpp b/src/widgets/widgets/qtextedit.cpp index 413abd9ba79..07bf840b560 100644 --- a/src/widgets/widgets/qtextedit.cpp +++ b/src/widgets/widgets/qtextedit.cpp @@ -540,7 +540,7 @@ void QTextEditPrivate::_q_ensureVisible(const QRectF &_rect) of the movement keystrokes, for example, \e{Shift+Right} will select the character to the right, and \e{Shift+Ctrl+Right} will select the word to the right, etc. - \sa QTextDocument, QTextCursor, {Qt Widgets - Application Example}, + \sa QTextDocument, QTextCursor, {Syntax Highlighter Example}, {Rich Text Processing} */ diff --git a/src/widgets/widgets/qtoolbar.cpp b/src/widgets/widgets/qtoolbar.cpp index 54fd3ac5254..ff656e58918 100644 --- a/src/widgets/widgets/qtoolbar.cpp +++ b/src/widgets/widgets/qtoolbar.cpp @@ -412,7 +412,7 @@ void QToolBarPrivate::plug(const QRect &r) addWidget(). Please use widget actions created by inheriting QWidgetAction and implementing QWidgetAction::createWidget() instead. - \sa QToolButton, QMenu, QAction, {Qt Widgets - Application Example} + \sa QToolButton, QMenu, QAction */ /*!