Fix links to Application Example

The example was renamed in 6cb36d825d365988ea7a601218bdd3a329290469.

Change-Id: Ic9daac60002c9988dfeb5c7dcde74edb69388f37
Reviewed-by: Andreas Buhr <andreas.buhr@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Jason McDonald <macadder1@gmail.com>
(cherry picked from commit 0cc9a99865c4b6dfb1a212a5aba0fc5907f19b24)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Volker Hilsheimer 2020-12-01 14:22:58 +01:00 committed by Qt Cherry-pick Bot
parent d8a9a07a60
commit 952eb7a1d7
11 changed files with 18 additions and 16 deletions

View File

@ -2338,7 +2338,7 @@ void QConfFileSettingsPrivate::ensureSectionParsed(QConfFile *confFile,
\endlist \endlist
\sa QVariant, QSessionManager, {Settings Editor Example}, {Application Example} \sa QVariant, QSessionManager, {Settings Editor Example}, {Qt Widgets - Application Example}
*/ */
/*! \enum QSettings::Status /*! \enum QSettings::Status

View File

@ -219,7 +219,7 @@ QObject *QActionPrivate::menu() const
use as menu items. use as menu items.
\sa QMenu, QToolBar, {Application Example} \sa QMenu, QToolBar, {Qt Widgets - Application Example}
*/ */
/*! /*!

View File

@ -172,7 +172,7 @@ Q_GLOBAL_STATIC(QUrl, lastVisitedDir)
native dialog. native dialog.
\sa QDir, QFileInfo, QFile, QColorDialog, QFontDialog, {Standard Dialogs Example}, \sa QDir, QFileInfo, QFile, QColorDialog, QFontDialog, {Standard Dialogs Example},
{Application Example} {Qt Widgets - Application Example}
*/ */
/*! /*!

View File

@ -748,7 +748,8 @@ void QMessageBoxPrivate::_q_clicked(QPlatformDialogHelper::StandardButton button
When an escape button can't be determined using these rules, When an escape button can't be determined using these rules,
pressing \uicontrol Esc has no effect. pressing \uicontrol Esc has no effect.
\sa QDialogButtonBox, {fowler}{GUI Design Handbook: Message Box}, {Standard Dialogs Example}, {Application Example} \sa QDialogButtonBox, {fowler}{GUI Design Handbook: Message Box}, {Standard Dialogs Example},
{Qt Widgets - Application Example}
*/ */
/*! /*!

View File

@ -9550,13 +9550,13 @@ void QWidget::actionEvent(QActionEvent *)
Main window applications typically use reimplementations of this function to check Main window applications typically use reimplementations of this function to check
whether the user's work has been saved and ask for permission before closing. whether the user's work has been saved and ask for permission before closing.
For example, the \l{Application Example} uses a helper function to determine whether For example, the \l{Qt Widgets - Application Example} uses a helper function to
or not to close the window: determine whether or not to close the window:
\snippet mainwindows/application/mainwindow.cpp 3 \snippet mainwindows/application/mainwindow.cpp 3
\snippet mainwindows/application/mainwindow.cpp 4 \snippet mainwindows/application/mainwindow.cpp 4
\sa event(), hide(), close(), QCloseEvent, {Application Example} \sa event(), hide(), close(), QCloseEvent, {Qt Widgets - Application Example}
*/ */
void QWidget::closeEvent(QCloseEvent *event) void QWidget::closeEvent(QCloseEvent *event)
@ -11174,7 +11174,8 @@ void QWidgetPrivate::setWindowOpacity_sys(qreal level)
its parent because other children of the parent might have been its parent because other children of the parent might have been
modified. modified.
\sa windowTitle, {Application Example}, {SDI Example}, {MDI Example} \sa windowTitle, {Qt Widgets - Application Example}, {SDI Example},
{MDI Example}
*/ */
bool QWidget::isWindowModified() const bool QWidget::isWindowModified() const
{ {

View File

@ -315,9 +315,9 @@ void QMainWindowPrivate::init()
is the position and size (relative to the size of the main window) is the position and size (relative to the size of the main window)
of the toolbars and dock widgets that are stored. of the toolbars and dock widgets that are stored.
\sa QMenuBar, QToolBar, QStatusBar, QDockWidget, {Application \sa QMenuBar, QToolBar, QStatusBar, QDockWidget,
Example}, {Dock Widgets Example}, {MDI Example}, {SDI Example}, {Qt Widgets - Application Example}, {Dock Widgets Example},
{Menus Example} {MDI Example}, {SDI Example}, {Menus Example}
*/ */
/*! /*!

View File

@ -1692,7 +1692,7 @@ void QMenu::initStyleOption(QStyleOptionMenuItem *option, const QAction *action)
addSeparator(), and addMenu(). addSeparator(), and addMenu().
\sa QMenuBar, {fowler}{GUI Design Handbook: Menu, Drop-Down and Pop-Up}, \sa QMenuBar, {fowler}{GUI Design Handbook: Menu, Drop-Down and Pop-Up},
{Application Example}, {Menus Example} {Qt Widgets - Application Example}, {Menus Example}
*/ */

View File

@ -1217,7 +1217,7 @@ void QPlainTextEditPrivate::ensureViewportLayouted()
fast log viewer (see setMaximumBlockCount()). fast log viewer (see setMaximumBlockCount()).
\sa QTextDocument, QTextCursor, {Application Example}, \sa QTextDocument, QTextCursor, {Qt Widgets - Application Example},
{Code Editor Example}, {Syntax Highlighter Example}, {Code Editor Example}, {Syntax Highlighter Example},
{Rich Text Processing} {Rich Text Processing}

View File

@ -216,7 +216,7 @@ QRect QStatusBarPrivate::messageRect() const
\image fusion-statusbar-sizegrip.png A status bar shown in the Fusion widget style \image fusion-statusbar-sizegrip.png A status bar shown in the Fusion widget style
\sa QMainWindow, QStatusTipEvent, {fowler}{GUI Design Handbook: \sa QMainWindow, QStatusTipEvent, {fowler}{GUI Design Handbook:
Status Bar}, {Application Example} Status Bar}, {Qt Widgets - Application Example}
*/ */

View File

@ -572,7 +572,7 @@ void QTextEditPrivate::_q_ensureVisible(const QRectF &_rect)
of the movement keystrokes, for example, \e{Shift+Right} 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. will select the character to the right, and \e{Shift+Ctrl+Right} will select the word to the right, etc.
\sa QTextDocument, QTextCursor, {Application Example}, \sa QTextDocument, QTextCursor, {Qt Widgets - Application Example},
{Syntax Highlighter Example}, {Rich Text Processing} {Syntax Highlighter Example}, {Rich Text Processing}
*/ */

View File

@ -411,7 +411,7 @@ void QToolBarPrivate::plug(const QRect &r)
addWidget(). Please use widget actions created by inheriting QWidgetAction addWidget(). Please use widget actions created by inheriting QWidgetAction
and implementing QWidgetAction::createWidget() instead. and implementing QWidgetAction::createWidget() instead.
\sa QToolButton, QMenu, QAction, {Application Example} \sa QToolButton, QMenu, QAction, {Qt Widgets - Application Example}
*/ */
/*! /*!