summaryrefslogtreecommitdiffstats
path: root/khexedit/lib/codecs/kebcdic1047charcodec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'khexedit/lib/codecs/kebcdic1047charcodec.cpp')
-rw-r--r--khexedit/lib/codecs/kebcdic1047charcodec.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/khexedit/lib/codecs/kebcdic1047charcodec.cpp b/khexedit/lib/codecs/kebcdic1047charcodec.cpp
index f26da37..d1002c3 100644
--- a/khexedit/lib/codecs/kebcdic1047charcodec.cpp
+++ b/khexedit/lib/codecs/kebcdic1047charcodec.cpp
@@ -96,7 +96,7 @@ static unsigned char EBCDICChars[256] =
static const char KEBCDIC1047CharCodecName[] = "EBCDIC 1047";
-bool KEBCDIC1047CharCodec::encode( char *D, const QChar &C ) const
+bool KEBCDIC1047CharCodec::encode( char *D, const TQChar &C ) const
{
int I = C.unicode();
// not in range?
@@ -109,16 +109,16 @@ bool KEBCDIC1047CharCodec::encode( char *D, const QChar &C ) const
KHEChar KEBCDIC1047CharCodec::decode( char Byte ) const
{
- return QChar(UnicodeChars[(unsigned char)Byte]);
+ return TQChar(UnicodeChars[(unsigned char)Byte]);
}
-const QString& KEBCDIC1047CharCodec::name() const
+const TQString& KEBCDIC1047CharCodec::name() const
{
return codecName();
}
-const QString& KEBCDIC1047CharCodec::codecName()
+const TQString& KEBCDIC1047CharCodec::codecName()
{
- static const QString Name( QString::fromLatin1(KEBCDIC1047CharCodecName) );
+ static const TQString Name( TQString::fromLatin1(KEBCDIC1047CharCodecName) );
return Name;
}