diff options
author | João Abecasis <joao.abecasis@nokia.com> | 2011-08-05 08:58:08 (GMT) |
---|---|---|
committer | João Abecasis <joao.abecasis@nokia.com> | 2011-08-17 15:52:22 (GMT) |
commit | 9a76587363a2f37312326286e08cce502f7fe27e (patch) | |
tree | 3b072db40af0c4191f40f71b86ad9bdfeb59beed /doc/src/snippets/code/src_script_qscriptvalue.cpp | |
parent | d71d3b1ce31ffc585258330d825ff8ea535254ef (diff) | |
download | Qt-9a76587363a2f37312326286e08cce502f7fe27e.zip Qt-9a76587363a2f37312326286e08cce502f7fe27e.tar.gz Qt-9a76587363a2f37312326286e08cce502f7fe27e.tar.bz2 |
Minimize encoding conversions when generating unique file name
With minor adjustments, createFileFromTemplate is made to work directly
on (UTF-16) QString data, which is already in the native encoding for
Windows and Symbian. This is possible because the function only fills
out the placeholder sub-string, without touching adjacent characters.
This eliminates unnecessary conversions on those platforms.
Reviewed-by: Gareth Stockwell
Reviewed-by: Shane Kearns
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptvalue.cpp')
0 files changed, 0 insertions, 0 deletions