diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-04-21 23:28:33 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-04-21 23:28:33 +0900 |
| commit | 1df632a0e6e550a5a100247c6b4713078e78f413 (patch) | |
| tree | e8577c3d310285ebb4c8beea37998f408286bda3 /tqtinterface/qt4/plugins/src/codecs/kr/main.cpp | |
| parent | 012b00740f33c01949c88d7ea97e2dee81fabb41 (diff) | |
| download | experimental-1df632a0e6e550a5a100247c6b4713078e78f413.tar.gz experimental-1df632a0e6e550a5a100247c6b4713078e78f413.zip | |
Removed unnecessary and/or TDE-unrelated code.r14.0.7
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'tqtinterface/qt4/plugins/src/codecs/kr/main.cpp')
| -rw-r--r-- | tqtinterface/qt4/plugins/src/codecs/kr/main.cpp | 47 |
1 files changed, 0 insertions, 47 deletions
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 <tqtextcodecplugin.h> -#include <tqtextcodec.h> -#include <tqptrlist.h> - -#include <tqeuckrcodec.h> -#include <private/tqfontcodecs_p.h> - - -class KRTextCodecs : public TQTextCodecPlugin -{ -public: - KRTextCodecs() {} - - TQStringList names() const { return TQStringList() << "eucKR" << "ksc5601.1987-0"; } - TQValueList<int> mibEnums() const { return TQValueList<int>() << 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 ); |
