qt5base-lts/tests/auto/corelib/tools
Eskil Abrahamsen Blomfeldt 4bf0660ae4 Make QStringRef::right() consistent with QString::right()
The implementation was inconsistent with QString::right(),
and did not return the N rightmost characters but actually did
the same as QString::mid(N) (returning the rightmost size - N
characters.)

Since this function is fairly recent (Qt 5.2), is documented to
behave the same as QString::right(), and since these APIs are
meant to be interchangeable, this needs to be fixed, even though
it changes behavior.

[ChangeLog][Important Behavior Changes] Changed QStringRef::right()
to be consistent with QString::right(). The function now returns
the N right-most characters, like the documentation already claimed.

Change-Id: I2d1cd6d958dfa9354aa09f16bd27b1ed209c2d11
Task-number: QTBUG-41858
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
2014-10-14 11:32:55 +02:00
..
collections Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qalgorithms Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qarraydata Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qarraydata_strictiterators Make sure all containers compile in strict-iterator mode 2014-02-22 04:38:01 +01:00
qbitarray Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qbytearray Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qbytearraylist Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qbytearraymatcher Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qbytedatabuffer Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qcache Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qchar Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qcollator Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qcommandlineparser Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qcontiguouscache Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qcryptographichash Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qdate Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qdatetime Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qeasingcurve Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qelapsedtimer Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qexplicitlyshareddatapointer Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qfreelist Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qhash Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qhash_strictiterators Make sure all containers compile in strict-iterator mode 2014-02-22 04:38:01 +01:00
qline Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qlinkedlist Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qlist Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qlist_strictiterators Make sure all containers compile in strict-iterator mode 2014-02-22 04:38:01 +01:00
qlocale Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qmap Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qmap_strictiterators Make sure all containers compile in strict-iterator mode 2014-02-22 04:38:01 +01:00
qmargins Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qmessageauthenticationcode Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qpair Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qpoint Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qpointf Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qqueue Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qrect Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qregexp Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qregularexpression Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qringbuffer Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qscopedpointer Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qscopedvaluerollback Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qset Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qsharedpointer Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qsize Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qsizef Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qstl Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qstring Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qstring_no_cast_from_bytearray Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qstringbuilder Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qstringiterator Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qstringlist Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qstringmatcher Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qstringref Make QStringRef::right() consistent with QString::right() 2014-10-14 11:32:55 +02:00
qtextboundaryfinder Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qtime Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qtimeline Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qtimezone Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qvarlengtharray Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qvector Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qvector_strictiterators Make sure all containers compile in strict-iterator mode 2014-02-22 04:38:01 +01:00
qversionnumber Update license headers and add new license files 2014-09-24 12:26:19 +02:00
tools.pro Long live QByteArrayList! 2014-08-09 09:01:41 +02:00