Docs: Fix references

Change-Id: I48173186afb874d307010f4f303d0e4f97ec0287
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
This commit is contained in:
Christian Stenger 2012-12-12 16:56:53 +01:00 committed by The Qt Project
parent 76ce3e6419
commit e262f221aa
9 changed files with 19 additions and 17 deletions

View File

@ -48,7 +48,7 @@
through plugins, we recommend that you start by reading this
overview, which explains how to make an application use plugins.
Afterward, you can read the
\l{plugandpaintplugins/basictools}{Basic Tools} and
\l{tools/plugandpaintplugins/basictools}{Basic Tools} and
\l{plugandpaintplugins/extrafilters}{Extra Filters}
overviews, which show how to implement static and dynamic
plugins, respectively.

View File

@ -1437,7 +1437,7 @@ QAbstractItemModel::~QAbstractItemModel()
For example:
\snippet itemviews/simpledommodel/dommodel.cpp 2
\snippet ../widgets/itemviews/simpledommodel/dommodel.cpp 2
\note When implementing a table based model, columnCount() should return 0
when the parent is valid.

View File

@ -1616,7 +1616,7 @@ void QSortFilterProxyModelPrivate::_q_sourceColumnsMoved(
QSortFilterProxyModel and reimplementing lessThan(), which is
used to compare items. For example:
\snippet itemviews/customsortfiltermodel/mysortfilterproxymodel.cpp 5
\snippet ../widgets/itemviews/customsortfiltermodel/mysortfilterproxymodel.cpp 5
(This code snippet comes from the
\l{itemviews/customsortfiltermodel}{Custom Sort/Filter Model}
@ -1659,7 +1659,7 @@ void QSortFilterProxyModelPrivate::_q_sourceColumnsMoved(
the \l{QSortFilterProxyModel::filterKeyColumn}{filterKeyColumn} property
and performs filtering on columns 0, 1, and 2:
\snippet itemviews/customsortfiltermodel/mysortfilterproxymodel.cpp 3
\snippet ../widgets/itemviews/customsortfiltermodel/mysortfilterproxymodel.cpp 3
(This code snippet comes from the
\l{itemviews/customsortfiltermodel}{Custom Sort/Filter Model}

View File

@ -1945,7 +1945,7 @@ void QObject::deleteLater()
is available.
Example:
\snippet mainwindows/sdi/mainwindow.cpp implicit tr context
\snippet ../widgets/mainwindows/sdi/mainwindow.cpp implicit tr context
\dots
If the same \a sourceText is used in different roles within the
@ -3864,9 +3864,9 @@ QDebug operator<<(QDebug dbg, const QObject *o) {
Example:
\snippet tools/plugandpaintplugins/basictools/basictoolsplugin.h 1
\snippet ../widgets/tools/plugandpaintplugins/basictools/basictoolsplugin.h 1
\dots
\snippet tools/plugandpaintplugins/basictools/basictoolsplugin.h 3
\snippet ../widgets/tools/plugandpaintplugins/basictools/basictoolsplugin.h 3
See the \l{tools/plugandpaintplugins/basictools}{Plug & Paint
Basic Tools} example for details.

View File

@ -62,9 +62,9 @@ QT_BEGIN_NAMESPACE
Example for a one second (1000 millisecond) timer (from the
\l{widgets/analogclock}{Analog Clock} example):
\snippet widgets/analogclock/analogclock.cpp 4
\snippet widgets/analogclock/analogclock.cpp 5
\snippet widgets/analogclock/analogclock.cpp 6
\snippet ../widgets/widgets/analogclock/analogclock.cpp 4
\snippet ../widgets/widgets/analogclock/analogclock.cpp 5
\snippet ../widgets/widgets/analogclock/analogclock.cpp 6
From then on, the \c update() slot is called every second.

View File

@ -3920,7 +3920,7 @@ static void invalidateEngine(QRegExpPrivate *priv)
\value Wildcard This provides a simple pattern matching syntax
similar to that used by shells (command interpreters) for "file
globbing". See \l{Wildcard Matching}.
globbing". See \l{QRegExp wildcard matching}.
\value WildcardUnix This is similar to Wildcard but with the
behavior of a Unix shell. The wildcard characters can be escaped
@ -4150,7 +4150,7 @@ QRegExp::PatternSyntax QRegExp::patternSyntax() const
QRegExp::RegExp.
Setting \a syntax to QRegExp::Wildcard enables simple shell-like
\l{wildcard matching}. For example, \b{r*.txt} matches the
\l{QRegExp wildcard matching}. For example, \b{r*.txt} matches the
string \c{readme.txt} in wildcard mode, but does not match
\c{readme}.

View File

@ -33,8 +33,8 @@
\keyword SSL
The classes below provide support for secure network communication using
the Secure Sockets Layer (SSL) protocol, using the \l{www.openssl.org}{OpenSSL Toolkit} to
perform encryption and protocol handling.
the Secure Sockets Layer (SSL) protocol, using the OpenSSL Toolkit (\l{http://www.openssl.org/})
to perform encryption and protocol handling.
See the \l{General Qt Requirements} page for information about the
versions of OpenSSL that are known to work with Qt.

View File

@ -421,7 +421,8 @@ QOpenGLContext *QGLContext::contextHandle() const
}
/*!
Returns a OpenGL context for the window context specified by \a windowContext
Returns a OpenGL context for the window context specified by the \a context
parameter.
*/
QGLContext *QGLContext::fromOpenGLContext(QOpenGLContext *context)
{

View File

@ -185,7 +185,7 @@ QT_BEGIN_NAMESPACE
\relates QTest
Invokes QTRY_VERIFY_WITH_TIMEOUT() with a timeout of five seconds.
Checks the \a condition by invoking QTRY_VERIFY_WITH_TIMEOUT() with a timeout of five seconds.
\note This macro can only be used in a test function that is invoked
by the test framework.
@ -215,7 +215,8 @@ QT_BEGIN_NAMESPACE
\relates QTest
Invokes QTRY_COMPARE_WITH_TIMEOUT() with a timeout of five seconds.
Performs a comparison of the \a actual and \a expected values by
invoking QTRY_COMPARE_WITH_TIMEOUT() with a timeout of five seconds.
\note This macro can only be used in a test function that is invoked
by the test framework.