diff options
author | Andy Nichols <andy.nichols@nokia.com> | 2012-08-21 16:13:49 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-23 11:20:37 +0200 |
commit | fc924ae47e73a5b41e274a723d8f7cdefe921c4f (patch) | |
tree | 560b0969b970c262c5ebbc9eaa4d23157f103e19 /src/corelib/doc/src | |
parent | 8e0bac89d4b0f01b71c57f79a3b98a6ecb7f20ae (diff) |
Doc: Fix snippet and example referencing widget examples
Widget examples were moved into a widgets subfolder, but
qdoc references were not updated.
Change-Id: Id2a4573e723745b9827c664c852807d6116f8f6d
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'src/corelib/doc/src')
-rw-r--r-- | src/corelib/doc/src/plugins-howto.qdoc | 4 | ||||
-rw-r--r-- | src/corelib/doc/src/resource-system.qdoc | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/corelib/doc/src/plugins-howto.qdoc b/src/corelib/doc/src/plugins-howto.qdoc index 22a450d6a8..83a4a8b29e 100644 --- a/src/corelib/doc/src/plugins-howto.qdoc +++ b/src/corelib/doc/src/plugins-howto.qdoc @@ -183,12 +183,12 @@ For example, here's the definition of an interface class: - \snippet examples/tools/plugandpaint/interfaces.h 2 + \snippet tools/plugandpaint/interfaces.h 2 Here's the definition of a plugin class that implements that interface: - \snippet examples/tools/plugandpaintplugins/extrafilters/extrafiltersplugin.h 0 + \snippet tools/plugandpaintplugins/extrafilters/extrafiltersplugin.h 0 The \l{tools/plugandpaint}{Plug & Paint} example documentation explains this process in detail. See also \l{Creating Custom diff --git a/src/corelib/doc/src/resource-system.qdoc b/src/corelib/doc/src/resource-system.qdoc index 5736e01806..487c44e62d 100644 --- a/src/corelib/doc/src/resource-system.qdoc +++ b/src/corelib/doc/src/resource-system.qdoc @@ -53,7 +53,7 @@ Here's an example \c .qrc file: - \quotefile mainwindows/application/application.qrc + \quotefile widgets/mainwindows/application/application.qrc The resource files listed in the \c .qrc file are files that are part of the application's source tree. The specified paths are @@ -125,7 +125,7 @@ mentioned in the application's \c .pro file so that \c qmake knows about it. For example: - \snippet mainwindows/application/application.pro 0 + \snippet widgets/mainwindows/application/application.pro 0 \c qmake will produce make rules to generate a file called \c qrc_application.cpp that is linked into the application. This @@ -170,7 +170,7 @@ pass a resource path instead of a file name to the QIcon, QImage, or QPixmap constructor: - \snippet mainwindows/application/mainwindow.cpp 21 + \snippet widgets/mainwindows/application/mainwindow.cpp 21 See the \l{mainwindows/application}{Application} example for an actual application that uses Qt's resource system to store its |