From 1df632a0e6e550a5a100247c6b4713078e78f413 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 21 Apr 2019 23:28:33 +0900 Subject: Removed unnecessary and/or TDE-unrelated code. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michele Calgaro Signed-off-by: Slávek Banko --- tqtinterface/qt4/plugins/src/codecs/kr/main.cpp | 47 ------------------------- 1 file changed, 47 deletions(-) delete mode 100644 tqtinterface/qt4/plugins/src/codecs/kr/main.cpp (limited to 'tqtinterface/qt4/plugins/src/codecs/kr/main.cpp') diff --git a/tqtinterface/qt4/plugins/src/codecs/kr/main.cpp b/tqtinterface/qt4/plugins/src/codecs/kr/main.cpp deleted file mode 100644 index fa76ad5..0000000 --- a/tqtinterface/qt4/plugins/src/codecs/kr/main.cpp +++ /dev/null @@ -1,47 +0,0 @@ -#include -#include -#include - -#include -#include - - -class KRTextCodecs : public TQTextCodecPlugin -{ -public: - KRTextCodecs() {} - - TQStringList names() const { return TQStringList() << "eucKR" << "ksc5601.1987-0"; } - TQValueList mibEnums() const { return TQValueList() << 38 << 36; } - TQTextCodec *createForMib( int ); - TQTextCodec *createForName( const TQString & ); -}; - - -TQTextCodec *KRTextCodecs::createForMib( int mib ) -{ - switch (mib) { - case 36: - return new TQFontKsc5601Codec; - case 38: - return new TQEucKrCodec; - default: - ; - } - - return 0; -} - - -TQTextCodec *KRTextCodecs::createForName( const TQString &name ) -{ - if (name == "eucKR") - return new TQEucKrCodec; - if (name == "ksc5601.1987-0") - return new TQFontKsc5601Codec; - - return 0; -} - - -TQ_EXPORT_PLUGIN( KRTextCodecs ); -- cgit v1.2.3