summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_script_qscriptvalue.cpp
diff options
context:
space:
mode:
authorJoão Abecasis <joao.abecasis@nokia.com>2011-08-05 08:58:08 (GMT)
committerJoão Abecasis <joao.abecasis@nokia.com>2011-08-17 15:52:22 (GMT)
commit9a76587363a2f37312326286e08cce502f7fe27e (patch)
tree3b072db40af0c4191f40f71b86ad9bdfeb59beed /doc/src/snippets/code/src_script_qscriptvalue.cpp
parentd71d3b1ce31ffc585258330d825ff8ea535254ef (diff)
downloadQt-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