summaryrefslogtreecommitdiffstats
path: root/src/iso5426converter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/iso5426converter.cpp')
-rw-r--r--src/iso5426converter.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/iso5426converter.cpp b/src/iso5426converter.cpp
index bac132a..14324ab 100644
--- a/src/iso5426converter.cpp
+++ b/src/iso5426converter.cpp
@@ -24,13 +24,13 @@
#include "iso5426converter.h"
#include "tellico_debug.h"
-#include <qstring.h>
+#include <tqstring.h>
using Tellico::Iso5426Converter;
-QString Iso5426Converter::toUtf8(const QCString& text_) {
+TQString Iso5426Converter::toUtf8(const TQCString& text_) {
const uint len = text_.length();
- QString result;
+ TQString result;
result.reserve(len);
uint pos = 0;
for(uint i = 0; i < len; ++i) {
@@ -44,7 +44,7 @@ QString Iso5426Converter::toUtf8(const QCString& text_) {
if(c == 0xC9) {
c = 0xC8;
}
- QChar d = getCombiningChar(c * 256 + text_[i + 1]);
+ TQChar d = getCombiningChar(c * 256 + text_[i + 1]);
if(!d.isNull()) {
result[pos++] = d;
++i;
@@ -75,7 +75,7 @@ bool Iso5426Converter::isCombining(uchar c) {
}
// Source : http://www.itscj.ipsj.or.jp/ISO-IR/053.pdf
-QChar Iso5426Converter::getChar(uchar c) {
+TQChar Iso5426Converter::getChar(uchar c) {
switch(c) {
case 0xA1:
return 0x00A1; // 2/1 inverted exclamation mark
@@ -190,7 +190,7 @@ QChar Iso5426Converter::getChar(uchar c) {
}
}
-QChar Iso5426Converter::getCombiningChar(uint c) {
+TQChar Iso5426Converter::getCombiningChar(uint c) {
switch(c) {
// 4/0 low rising tone mark
case 0xC041:
@@ -878,6 +878,6 @@ QChar Iso5426Converter::getCombiningChar(uint c) {
default:
myDebug() << "Iso5426Converter::getCombiningChar() - no match for " << c << endl;
- return QChar();
+ return TQChar();
}
}