Doc: Fix broken \keyword link

Fix 19 counts of "Can't link to 'default-constructed value'"
warnings.

There was only one link to "default-constructed values", so the
cleanest solution was to change the keyword.

Also included a related typo fix.

Change-Id: I84b47743ecb72a1b2731ef65080fa1e630d478a4
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
This commit is contained in:
Sze Howe Koh 2013-01-27 13:43:23 +08:00 committed by The Qt Project
parent c9b22e438b
commit 22550ed78d
3 changed files with 3 additions and 3 deletions

View File

@ -221,7 +221,7 @@
\codeline
\snippet streaming/main.cpp 2
\keyword default-constructed values
\keyword default-constructed value
The documentation of certain container class functions refer to
\e{default-constructed values}; for example, QVector

View File

@ -2958,7 +2958,7 @@ QDebug operator<<(QDebug dbg, const QVariant::Type p)
Returns the stored value converted to the template type \c{T}.
Call canConvert() to find out whether a type can be converted.
If the value cannot be converted, \l{default-constructed value}
If the value cannot be converted, a \l{default-constructed value}
will be returned.
If the type \c{T} is supported by QVariant, this function behaves

View File

@ -84,7 +84,7 @@
/*! \fn QPair::QPair()
Constructs an empty pair. The \c first and \c second elements are
initialized with \l{default-constructed values}.
initialized with \l{default-constructed value}s.
*/
/*!