diff options
author | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2016-05-13 16:53:01 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2016-05-25 06:19:16 +0000 |
commit | 50e22c765343102c4e0acf1eee8a6ce6f6f39ccf (patch) | |
tree | 1693187e5915543956b06778558f4acd0054db53 /qmake/doc | |
parent | e70330f99e53bd34a518879a0a4c68bc7cb03949 (diff) |
add $$sorted() function.
[ChangeLog][qmake] Added $$sorted() function.
Change-Id: Ic069d3ef7c0b7a260c714c76eecc71c41417d01f
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Reviewed-by: Martin Smith <martin.smith@theqtcompany.com>
Diffstat (limited to 'qmake/doc')
-rw-r--r-- | qmake/doc/src/qmake-manual.qdoc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/qmake/doc/src/qmake-manual.qdoc b/qmake/doc/src/qmake-manual.qdoc index 5828d515e5..a173979117 100644 --- a/qmake/doc/src/qmake-manual.qdoc +++ b/qmake/doc/src/qmake-manual.qdoc @@ -2858,6 +2858,7 @@ See also \l{take_first()}, \l{fn_last}{last()}. + \target format_number() \section2 format_number(number[, options...]) Returns \c number in the format specified by \c options. You can specify the @@ -3074,6 +3075,14 @@ This is an internal function that you will typically not need. + \section2 sorted(variablename) + + Returns the list of values in \c variablename with entries sorted + in ascending ASCII order. + + Numerical sorting can be accomplished by zero-padding the values to + a fixed length with the help of the \l{format_number()} function. + \section2 split(variablename, separator) Splits the value of \c variablename into separate values, and returns them |