From f564d58dcdc614f94d2fc3147f24537c35a1317e Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Fri, 29 Mar 2019 16:29:15 +0100 Subject: Doc: Avoid auto-linking the string 'WebEngine' to the QML type Remove the previous workaround (internal \externalpage command) that was used for this purpose, and replace it with a \QWE macro that expands to the string 'Qt \WebEngine'. The backslash in the expanded string instructs QDoc not to attempt auto-linking the word. Change-Id: If4e1c95423fa07479b1af055e4760a890c0ac667 Reviewed-by: Paul Wicking --- .../doc/src/qtwebenginewidgets-examples.qdoc | 4 +- .../doc/src/qtwebenginewidgets-index.qdoc | 2 +- .../doc/src/qtwebenginewidgets-module.qdoc | 2 +- .../doc/src/qtwebkitportingguide.qdoc | 72 +++++++++++----------- .../doc/src/qwebenginepage_lgpl.qdoc | 2 +- .../doc/src/qwebengineview_lgpl.qdoc | 4 +- 6 files changed, 43 insertions(+), 43 deletions(-) (limited to 'src/webenginewidgets/doc') diff --git a/src/webenginewidgets/doc/src/qtwebenginewidgets-examples.qdoc b/src/webenginewidgets/doc/src/qtwebenginewidgets-examples.qdoc index b6c5cb497..a9e0e69ea 100644 --- a/src/webenginewidgets/doc/src/qtwebenginewidgets-examples.qdoc +++ b/src/webenginewidgets/doc/src/qtwebenginewidgets-examples.qdoc @@ -28,13 +28,13 @@ /*! \group webengine-widgetexamples \title Qt WebEngine Widgets Examples - \brief Examples demonstrating the Qt WebEngine Widgets usage. + \brief Examples demonstrating the \QWE Widgets usage. \ingroup all-examples Qt provides an integrated Web browser component based on Chromium, the popular open source browser engine. - These examples and demonstrations show a range of different uses for Qt WebEngine, + These examples and demonstrations show a range of different uses for \QWE, from displaying Web pages within a Qt user interface to an implementation of a basic function Web browser. */ diff --git a/src/webenginewidgets/doc/src/qtwebenginewidgets-index.qdoc b/src/webenginewidgets/doc/src/qtwebenginewidgets-index.qdoc index abfd17ce3..b93bc86f2 100644 --- a/src/webenginewidgets/doc/src/qtwebenginewidgets-index.qdoc +++ b/src/webenginewidgets/doc/src/qtwebenginewidgets-index.qdoc @@ -67,7 +67,7 @@ This is a snapshot of the integration of Chromium into Qt. Qt Commercial Edition licensees that wish to distribute applications that - use the Qt WebEngine module need to be aware of their obligations under the + use the \QWE module need to be aware of their obligations under the GNU Library General Public License (LGPLv2). Developers using the Open Source Edition can choose to redistribute diff --git a/src/webenginewidgets/doc/src/qtwebenginewidgets-module.qdoc b/src/webenginewidgets/doc/src/qtwebenginewidgets-module.qdoc index 35fed802c..6f3eac5ad 100644 --- a/src/webenginewidgets/doc/src/qtwebenginewidgets-module.qdoc +++ b/src/webenginewidgets/doc/src/qtwebenginewidgets-module.qdoc @@ -33,7 +33,7 @@ \ingroup qtwebengine-modules \qtvariable webenginewidgets - The Qt WebEngineWidgets module provides a web browser engine as well as C++ classes to render + The \QWEWidgets module provides a web browser engine as well as C++ classes to render and interact with web content. To include the definitions of the module's classes, use the diff --git a/src/webenginewidgets/doc/src/qtwebkitportingguide.qdoc b/src/webenginewidgets/doc/src/qtwebkitportingguide.qdoc index 7bc7ff48d..e3fdc4ff1 100644 --- a/src/webenginewidgets/doc/src/qtwebkitportingguide.qdoc +++ b/src/webenginewidgets/doc/src/qtwebkitportingguide.qdoc @@ -28,7 +28,7 @@ /*! \page qtwebenginewidgets-qtwebkitportingguide.html \title Porting from Qt WebKit to Qt WebEngine - \brief Overview of the differences between the Qt WebKit and Qt WebEngine API. + \brief Overview of the differences between the Qt \WebKit and \QWE API. The following sections contain information about porting an application that uses the \l{http://doc.qt.io/archives/qt-5.3/qtwebkit-index.html}{Qt WebKit} @@ -37,17 +37,17 @@ \section1 Architecture - Chromium provides its own network and painting engines, which Qt WebEngine uses. This, among - other things, allows Qt WebEngine to provide better and more reliable support for the latest - HTML5 specification than Qt WebKit. However, Qt WebEngine is thus also heavier than Qt WebKit + Chromium provides its own network and painting engines, which \QWE uses. This, among + other things, allows \QWE to provide better and more reliable support for the latest + HTML5 specification than Qt \WebKit. However, \QWE is thus also heavier than Qt \WebKit and does not provide direct access to the network stack and the HTML document through C++ APIs. \section1 Class Names - The Qt WebEngine equivalent of Qt WebKit C++ classes are prefixed by + The \QWE equivalent of Qt \WebKit C++ classes are prefixed by "\e QWebEngine" instead of "\e QWeb". - \b {Qt WebKit} + \b {Qt \WebKit} \code #include #include @@ -59,7 +59,7 @@ QWebPage QWebView \endcode - \b {Qt WebEngine} + \b {\QWE} \code #include #include @@ -77,23 +77,23 @@ \section2 In qmake Project Files - \b {Qt WebKit} + \b {Qt \WebKit} \code QT += webkitwidgets \endcode - \b {Qt WebEngine} + \b {\QWE} \code QT += webenginewidgets \endcode \section2 Including the Module in Source Files - \b {Qt WebKit} + \b {Qt \WebKit} \code #include #include // With Qt >= 4.8 \endcode - \b {Qt WebEngine} + \b {\QWE} \code #include \endcode @@ -104,22 +104,22 @@ HTML frames can be used to divide web pages into several areas where the content can be represented individually. - In Qt WebKit, QWebFrame represents a frame inside a web page. Each QWebPage object contains at + In Qt \WebKit, QWebFrame represents a frame inside a web page. Each QWebPage object contains at least one frame, the main frame, obtained using QWebPage::mainFrame(). Additional frames will be created for the HTML \c element, which defines the appearance and contents of a single frame, or the \c