Doc: corrected broken links
Links fixed: Extra Filters Basic Tools blockingfortuneclient Thread Support Drag and drop examples qBinaryFind qmake common project types imagegestures Task-number: QTBUG-34749 Change-Id: Ib93dda00716dc596db327fee5b97e110a9f27fa7 Reviewed-by: Martin Smith <martin.smith@digia.com>
This commit is contained in:
parent
d0b1bf3996
commit
4fab72a5eb
@ -47,9 +47,9 @@
|
|||||||
If you want to learn how to make your own application extensible
|
If you want to learn how to make your own application extensible
|
||||||
through plugins, we recommend that you start by reading this
|
through plugins, we recommend that you start by reading this
|
||||||
overview, which explains how to make an application use plugins.
|
overview, which explains how to make an application use plugins.
|
||||||
Afterward, you can read the
|
Afterwards, you can read the
|
||||||
\l{tools/plugandpaintplugins/basictools}{Basic Tools} and
|
\l{tools/plugandpaintplugins/basictools}{Basic Tools} and
|
||||||
\l{plugandpaintplugins/extrafilters}{Extra Filters}
|
\l{tools/plugandpaintplugins/extrafilters}{Extra Filters}
|
||||||
overviews, which show how to implement static and dynamic
|
overviews, which show how to implement static and dynamic
|
||||||
plugins, respectively.
|
plugins, respectively.
|
||||||
|
|
||||||
@ -126,8 +126,8 @@
|
|||||||
a good idea to include a version number in the string, as we did
|
a good idea to include a version number in the string, as we did
|
||||||
above.
|
above.
|
||||||
|
|
||||||
The \l{plugandpaintplugins/basictools}{Basic Tools} plugin
|
The \l{tools/plugandpaintplugins/basictools}{Basic Tools} plugin
|
||||||
and the \l{plugandpaintplugins/extrafilters}{Extra Filters}
|
and the \l{tools/plugandpaintplugins/extrafilters}{Extra Filters}
|
||||||
plugin shows how to derive from \c BrushInterface, \c
|
plugin shows how to derive from \c BrushInterface, \c
|
||||||
ShapeInterface, and \c FilterInterface.
|
ShapeInterface, and \c FilterInterface.
|
||||||
|
|
||||||
@ -275,7 +275,7 @@
|
|||||||
|
|
||||||
\section1 Importing Static Plugins
|
\section1 Importing Static Plugins
|
||||||
|
|
||||||
The \l{plugandpaintplugins/basictools}{Basic Tools} plugin
|
The \l{tools/plugandpaintplugins/basictools}{Basic Tools} plugin
|
||||||
is built as a static plugin, to ensure that it is always
|
is built as a static plugin, to ensure that it is always
|
||||||
available to the application. This requires using the
|
available to the application. This requires using the
|
||||||
Q_IMPORT_PLUGIN() macro somewhere in the application (in a \c
|
Q_IMPORT_PLUGIN() macro somewhere in the application (in a \c
|
||||||
@ -307,7 +307,7 @@
|
|||||||
|
|
||||||
This completes our review of the Plug & Paint application. At
|
This completes our review of the Plug & Paint application. At
|
||||||
this point, you might want to take a look at the
|
this point, you might want to take a look at the
|
||||||
\l{plugandpaintplugins/basictools}{Basic Tools} example
|
\l{tools/plugandpaintplugins/basictools}{Basic Tools} example
|
||||||
plugin.
|
plugin.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -473,7 +473,7 @@
|
|||||||
|
|
||||||
To make the plugin a static plugin, all that is required is to
|
To make the plugin a static plugin, all that is required is to
|
||||||
specify \c static in addition to \c plugin. The
|
specify \c static in addition to \c plugin. The
|
||||||
\l{plugandpaintplugins/extrafilters}{Extra Filters} plugin,
|
\l{tools/plugandpaintplugins/extrafilters}{Extra Filters} plugin,
|
||||||
which is compiled as a dynamic plugin, doesn't specify \c static
|
which is compiled as a dynamic plugin, doesn't specify \c static
|
||||||
in its \c .pro file.
|
in its \c .pro file.
|
||||||
|
|
||||||
@ -503,13 +503,13 @@
|
|||||||
The Extra Filters example is a plugin for the
|
The Extra Filters example is a plugin for the
|
||||||
\l{plugandpaint}{Plug & Paint} example. It provides a set
|
\l{plugandpaint}{Plug & Paint} example. It provides a set
|
||||||
of filters in addition to those provided by the
|
of filters in addition to those provided by the
|
||||||
\l{plugandpaintplugins/basictools}{Basic Tools} plugin.
|
\l{tools/plugandpaintplugins/basictools}{Basic Tools} plugin.
|
||||||
|
|
||||||
Since the approach is identical to
|
Since the approach is identical to
|
||||||
\l{plugandpaintplugins/basictools}{Basic Tools}, we won't
|
\l{tools/plugandpaintplugins/basictools}{Basic Tools}, we won't
|
||||||
review the code here. The only part of interest is the
|
review the code here. The only part of interest is the
|
||||||
\c .pro file, since Extra Filters is a dynamic plugin
|
\c .pro file, since Extra Filters is a dynamic plugin
|
||||||
(\l{plugandpaintplugins/basictools}{Basic Tools} is
|
(\l{tools/plugandpaintplugins/basictools}{Basic Tools} is
|
||||||
linked statically into the Plug & Paint executable).
|
linked statically into the Plug & Paint executable).
|
||||||
|
|
||||||
Here's the project file for building the Extra Filters plugin:
|
Here's the project file for building the Extra Filters plugin:
|
||||||
|
@ -662,9 +662,6 @@
|
|||||||
This function requires the item type (in the example above,
|
This function requires the item type (in the example above,
|
||||||
QString) to implement \c operator<().
|
QString) to implement \c operator<().
|
||||||
|
|
||||||
See the \l{<QtAlgorithms>#binaryFind example}{detailed
|
|
||||||
description} for an example usage.
|
|
||||||
|
|
||||||
\sa qLowerBound(), qUpperBound(), {random access iterators}
|
\sa qLowerBound(), qUpperBound(), {random access iterators}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ qhp.QtTestLib.subprojects.classes.sortPages = true
|
|||||||
|
|
||||||
tagfile = ../../../doc/qttestlib/qttestlib.tags
|
tagfile = ../../../doc/qttestlib/qttestlib.tags
|
||||||
|
|
||||||
depends += qtcore qtdoc qtwidgets qtgui qtquick
|
depends += qtcore qtdoc qtwidgets qtgui qmake qtquick
|
||||||
|
|
||||||
headerdirs += ..
|
headerdirs += ..
|
||||||
|
|
||||||
|
@ -120,7 +120,7 @@
|
|||||||
|
|
||||||
\snippet code/doc_src_qtestlib.pro 2
|
\snippet code/doc_src_qtestlib.pro 2
|
||||||
|
|
||||||
See \l{qmake Common Projects#building-a-testcase}{the qmake manual} for
|
See the \l{Building a Testcase}{qmake manual} for
|
||||||
more information about \c{make check}.
|
more information about \c{make check}.
|
||||||
|
|
||||||
If you are using other build tools, make sure that you add the location
|
If you are using other build tools, make sure that you add the location
|
||||||
|
Loading…
x
Reference in New Issue
Block a user