summaryrefslogtreecommitdiff
path: root/src/linguist/lupdate/lupdate.h
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-03-06 15:29:08 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-19 08:39:24 +0100
commit6597b915b8df43b905f937d0ad87ae9e560ab3b5 (patch)
tree9de34488f0cd26c42cf33eac9d04ddd3c68eca6e /src/linguist/lupdate/lupdate.h
parentea98b4694c7a0674293e71cb20c15c3607cfb258 (diff)
downloadqttools-6597b915b8df43b905f937d0ad87ae9e560ab3b5.tar.gz
support only utf-8 and utf-16 for source code
utf-16 is optionally used by java and msvc. it doesn't hurt to support it. all other encodings are not used anyway (other than 8-bit pass-through, but this is a matter for (the also removed) CodecForTr). Change-Id: Ie6482e187a9a8276918b53e97faeac88a40eb52c Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/linguist/lupdate/lupdate.h')
-rw-r--r--src/linguist/lupdate/lupdate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/linguist/lupdate/lupdate.h b/src/linguist/lupdate/lupdate.h
index 3f3095a89..05a3ce583 100644
--- a/src/linguist/lupdate/lupdate.h
+++ b/src/linguist/lupdate/lupdate.h
@@ -65,7 +65,8 @@ enum UpdateOption {
AbsoluteLocations = 256,
RelativeLocations = 512,
NoLocations = 1024,
- NoUiLines = 2048
+ NoUiLines = 2048,
+ SourceIsUtf16 = 4096
};
Q_DECLARE_FLAGS(UpdateOptions, UpdateOption)