summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-06-02 16:33:28 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2009-06-02 16:33:28 (GMT)
commit2b051b2a7dce75eee10c166edffb41a3b56b4a27 (patch)
tree68ebebff4cc8f94545d230f15627dffe24823fe2 /src/corelib
parent1a7da7096bbda17197738061902f4489af234bc0 (diff)
downloadQt-2b051b2a7dce75eee10c166edffb41a3b56b4a27.zip
Qt-2b051b2a7dce75eee10c166edffb41a3b56b4a27.tar.gz
Qt-2b051b2a7dce75eee10c166edffb41a3b56b4a27.tar.bz2
Merged changes to the string builder class.
Reviewed-by: Trust Me
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/tools/qstringbuilder.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/tools/qstringbuilder.cpp b/src/corelib/tools/qstringbuilder.cpp
index 2b4a242..4f24f76 100644
--- a/src/corelib/tools/qstringbuilder.cpp
+++ b/src/corelib/tools/qstringbuilder.cpp
@@ -64,7 +64,7 @@
\sa QStringBuilder, QLatin1String, QString, QStringRef
*/
-/*! \fn QLatin1Literal::QLatin1Literal(const char(&string)[])
+/*! \fn QLatin1Literal::QLatin1Literal(const char(&string)[N])
Constructs a new literal from the given \a string.
*/
@@ -93,7 +93,7 @@
\reentrant
\since 4.6
- \brief QStringBuilder is a template class that provides a facility to build
+ \brief The QStringBuilder class is a template class that provides a facility to build
up QStrings from smaller chunks.
\ingroup tools
@@ -102,7 +102,7 @@
\mainclass
When creating strings from smaller chunks, typically \c QString::operator+()
- is used, resulting in \i{n - 1} reallocations when operating on \i{n} chunks.
+ is used, resulting in \e{n - 1} reallocations when operating on \e{n} chunks.
QStringBuilder uses expression templates to collect the individual parts,
compute the total size, allocate memory for the resulting QString object,