mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-15 00:07:25 -05:00
Improve API docs concerning sort behavior
This commit is contained in:
parent
a58d8d5411
commit
66f2272be0
@ -184,6 +184,8 @@ Compares two QVariant values and returns whether the first is less than the seco
|
||||
Useful for sorting lists of variants, correctly handling sorting of the various
|
||||
QVariant data types (such as strings, numeric values, dates and times)
|
||||
|
||||
Invalid < NULL < Values
|
||||
|
||||
.. seealso:: :py:func:`qgsVariantGreaterThan`
|
||||
%End
|
||||
|
||||
|
||||
@ -444,6 +444,9 @@ CORE_EXPORT qlonglong qgsPermissiveToLongLong( QString string, bool &ok );
|
||||
* Compares two QVariant values and returns whether the first is less than the second.
|
||||
* Useful for sorting lists of variants, correctly handling sorting of the various
|
||||
* QVariant data types (such as strings, numeric values, dates and times)
|
||||
*
|
||||
* Invalid < NULL < Values
|
||||
*
|
||||
* \see qgsVariantGreaterThan()
|
||||
*/
|
||||
CORE_EXPORT bool qgsVariantLessThan( const QVariant &lhs, const QVariant &rhs );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user