QString::append: add (const QChar*, int len) overload
authorMarc Mutz <marc.mutz@kdab.com>
Fri, 18 May 2012 16:58:29 +0000 (18:58 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 30 Aug 2012 00:28:30 +0000 (02:28 +0200)
commit6276427438d8247348f3bc9643d915d725f229d8
tree4ecd5ad231f74ff62cf0654122cc1ac31a8e7b50
parent7f324c4979bf83d68a18cbb4f8cd45752deb2e7c
QString::append: add (const QChar*, int len) overload

Both insert and replace have this overload, so one reason to add it
to append(), too, is consistency. But I can also make good use of
this overload in the the new QStringList::join(QChar) overload, so
it's actually useful in its own right.

Change-Id: Iccd48f9cb84831399e4db7e3e78eba25c0ced30d
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/corelib/tools/qstring.cpp
src/corelib/tools/qstring.h
tests/auto/corelib/tools/qstring/tst_qstring.cpp