QList docs: lexicographical -> lexical

Lexicographical is not the right word for the comparison description.
Other classes use the term "lexical", so QList is updated
in that way too.
The link to cppreference is left, because QList actually uses
std::lexicographical_compare, so it's completely valid here.

Task-number: QTBUG-87962
Change-Id: I37bd3a92c5a3f857266e9c483d14e64eb90ce2c7
Reviewed-by: Andreas Buhr <andreas.buhr@qt.io>
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
(cherry picked from commit 91c67b04164cba99189131c7ecad9155815c9199)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Ivan Solovev 2020-12-10 11:54:42 +01:00 committed by Qt Cherry-pick Bot
parent 258f66beb0
commit 384864e3dd

View File

@ -395,7 +395,7 @@
Returns \c true if this list is
\l{http://en.cppreference.com/w/cpp/algorithm/lexicographical_compare}
{lexicographically less than} \a other; otherwise returns \c false.
{lexically less than} \a other; otherwise returns \c false.
This function requires the value type to have an implementation
of \c operator<().
@ -406,7 +406,7 @@
Returns \c true if this list is
\l{http://en.cppreference.com/w/cpp/algorithm/lexicographical_compare}
{lexicographically less than or equal to} \a other; otherwise returns \c false.
{lexically less than or equal to} \a other; otherwise returns \c false.
This function requires the value type to have an implementation
of \c operator<().
@ -417,7 +417,7 @@
Returns \c true if this list is
\l{http://en.cppreference.com/w/cpp/algorithm/lexicographical_compare}
{lexicographically greater than} \a other; otherwise returns \c false.
{lexically greater than} \a other; otherwise returns \c false.
This function requires the value type to have an implementation
of \c operator<().
@ -428,7 +428,7 @@
Returns \c true if this list is
\l{http://en.cppreference.com/w/cpp/algorithm/lexicographical_compare}
{lexicographically greater than or equal to} \a other; otherwise returns \c false.
{lexically greater than or equal to} \a other; otherwise returns \c false.
This function requires the value type to have an implementation
of \c operator<().