summaryrefslogtreecommitdiffstats
path: root/src/corelib/codecs/qisciicodec_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2012-07-25 12:54:56 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-31 11:12:51 +0200
commitbb3637d33c122a5add502239c57dff8afcc555c8 (patch)
tree12997e8caebb12e29f069c80d8b915361870620e /src/corelib/codecs/qisciicodec_p.h
parentb23f048cf9a8eca4a246c65298818c38a4338fe4 (diff)
Add a factory method to QIsciiCodec and fix the names
Make the names all lower case to be in line with what ICU reports. Add a factory method to create the codecs according to their name. Change-Id: Ia3dddaa7701a0645d9d8fbcb52f1f8d58f79cf98 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/codecs/qisciicodec_p.h')
-rw-r--r--src/corelib/codecs/qisciicodec_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/codecs/qisciicodec_p.h b/src/corelib/codecs/qisciicodec_p.h
index 70af5e801f..2a92985cde 100644
--- a/src/corelib/codecs/qisciicodec_p.h
+++ b/src/corelib/codecs/qisciicodec_p.h
@@ -64,6 +64,8 @@ public:
explicit QIsciiCodec(int i) : idx(i) {}
~QIsciiCodec();
+ static QTextCodec *create(const char *name);
+
QByteArray name() const;
int mibEnum() const;