diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-02-18 15:48:32 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-02-18 15:48:32 (GMT) |
commit | 4baa9dfb5273d7b501dcb3f456983262c53cc8d1 (patch) | |
tree | af04bea96067fcb8c282067aea00703a25b52069 /tools/qdoc3/linguistgenerator.cpp | |
parent | 9eacc56619ce471a9777f88c89f64ca95cd6ae63 (diff) | |
parent | c18beac8163634b48bbf1e7280923e96f5ef0a51 (diff) | |
download | Qt-4baa9dfb5273d7b501dcb3f456983262c53cc8d1.zip Qt-4baa9dfb5273d7b501dcb3f456983262c53cc8d1.tar.gz Qt-4baa9dfb5273d7b501dcb3f456983262c53cc8d1.tar.bz2 |
Merge remote branch 'origin/master' into qt-master-from-4.6
Conflicts:
src/corelib/codecs/qtextcodec.h
tests/auto/gestures/tst_gestures.cpp
Diffstat (limited to 'tools/qdoc3/linguistgenerator.cpp')
-rw-r--r-- | tools/qdoc3/linguistgenerator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/qdoc3/linguistgenerator.cpp b/tools/qdoc3/linguistgenerator.cpp index d1bd22d..702f0fb 100644 --- a/tools/qdoc3/linguistgenerator.cpp +++ b/tools/qdoc3/linguistgenerator.cpp @@ -82,14 +82,14 @@ QString LinguistGenerator::format() return "Linguist"; } -QString LinguistGenerator::fileExtension(const Node * /* node */) +QString LinguistGenerator::fileExtension(const Node * /* node */) const { return "ts"; } void LinguistGenerator::generateClassLikeNode(const InnerNode *inner, CodeMarker *marker) { - out().setCodec("utf-8"); + out().setCodec("UTF-8"); QDomDocument document("TS"); QDomElement documentElement = document.createElement("TS"); @@ -100,7 +100,7 @@ void LinguistGenerator::generateClassLikeNode(const InnerNode *inner, CodeMarker documentElement.appendChild(element); QDomProcessingInstruction process = document.createProcessingInstruction( - "xml", QString("version=\"1.0\" encoding=\"%1\"").arg("utf-8")); + "xml", QString("version=\"1.0\" encoding=\"%1\"").arg("UTF-8")); document.appendChild(process); document.appendChild(documentElement); |