path: root/src/corelib/tools/qstring.cpp
diff options
Diffstat (limited to 'src/corelib/tools/qstring.cpp')
1 files changed, 13 insertions, 0 deletions
diff --git a/src/corelib/tools/qstring.cpp b/src/corelib/tools/qstring.cpp
index 1b6ff3c5df..4e5d806dbb 100644
--- a/src/corelib/tools/qstring.cpp
+++ b/src/corelib/tools/qstring.cpp
@@ -7164,6 +7164,19 @@ QString &QString::setRawData(const QChar *unicode, int size)
\sa latin1()
+/*! \fn QLatin1String::QLatin1String(const char *str, int size)
+ Constructs a QLatin1String object that stores \a str with \a size.
+ Note that if \a str is 0, an empty string is created; this case
+ is handled by QString.
+ The string data is \e not copied. The caller must be able to
+ guarantee that \a str will not be deleted or modified as long as
+ the QLatin1String object exists.
+ \sa latin1()
/*! \fn const char *QLatin1String::latin1() const
Returns the Latin-1 string stored in this object.