diff options
author | Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 2013-03-06 14:44:59 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-12 22:07:49 +0100 |
commit | 4944ea0586ce2b4d39ae141e4e0fd74804ade93f (patch) | |
tree | 089a6c0c1aa1e0b66bafd1a2206a15013edc5070 /src/linguist/lconvert/main.cpp | |
parent | 17af244afa77991cb071d10f1ce9af09c46a5397 (diff) | |
download | qttools-4944ea0586ce2b4d39ae141e4e0fd74804ade93f.tar.gz |
purge CODECFORTR & -codecfortr support
qt-based code is expected to be utf8-encoded nowadays. the respective
c++ interfaces have been purged in 5.0 already.
Change-Id: I592b49f198aae05212afbf8d3aa2b01b1e9369dd
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to 'src/linguist/lconvert/main.cpp')
-rw-r--r-- | src/linguist/lconvert/main.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/linguist/lconvert/main.cpp b/src/linguist/lconvert/main.cpp index af1576c97..edac6fe60 100644 --- a/src/linguist/lconvert/main.cpp +++ b/src/linguist/lconvert/main.cpp @@ -90,12 +90,6 @@ static int usage(const QStringList &args) " -of <outformat>\n" " --output-format <outformat>\n" " Specify output format. See -if.\n\n" - " --input-codec <codec>\n" - " Specify encoding for QM and PO input files. Default is 'Latin1'\n" - " for QM and 'UTF-8' for PO files. UTF-8 is always tried as well for\n" - " QM, corresponding to the possible use of the trUtf8() function.\n\n" - " --output-codec <codec>\n" - " Specify encoding for PO output files. Default is 'UTF-8'.\n\n" " --drop-tags <regexp>\n" " Drop named extra tags when writing TS or XLIFF files.\n" " May be specified repeatedly.\n\n" @@ -195,14 +189,6 @@ int main(int argc, char *argv[]) if (++i >= args.size()) return usage(args); inFormat = args[i]; - } else if (args[i] == QLatin1String("-input-codec")) { - if (++i >= args.size()) - return usage(args); - cd.m_codecForSource = args[i].toLatin1(); - } else if (args[i] == QLatin1String("-output-codec")) { - if (++i >= args.size()) - return usage(args); - cd.m_outputCodec = args[i].toLatin1(); } else if (args[i] == QLatin1String("-drop-tag")) { if (++i >= args.size()) return usage(args); |