summaryrefslogtreecommitdiffstats
path: root/src/codecs/qrtlcodec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/codecs/qrtlcodec.cpp')
-rw-r--r--src/codecs/qrtlcodec.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/codecs/qrtlcodec.cpp b/src/codecs/qrtlcodec.cpp
index f77b0e6..1d99edd 100644
--- a/src/codecs/qrtlcodec.cpp
+++ b/src/codecs/qrtlcodec.cpp
@@ -217,7 +217,7 @@ static QString reverseLine(const QString &str, unsigned int from, unsigned int t
case QChar::DirL:
if ( runDir != QChar::DirL && runDir != QChar::DirON ) {
out += run( str, from, pos, runDir );
- qDebug( "out = %s", out.latin1() );
+ tqDebug( "out = %s", out.latin1() );
from = pos;
}
runDir = QChar::DirL;
@@ -233,7 +233,7 @@ static QString reverseLine(const QString &str, unsigned int from, unsigned int t
case QChar::DirEN:
if ( runDir != QChar::DirR && runDir != QChar::DirON ) {
out += run( str, from, pos, runDir );
- qDebug( "out = %s", out.latin1() );
+ tqDebug( "out = %s", out.latin1() );
from = pos;
}
runDir = QChar::DirR;
@@ -243,7 +243,7 @@ static QString reverseLine(const QString &str, unsigned int from, unsigned int t
pos++;
}
out += run( str, from, pos, runDir );
- qDebug( "out = %s", out.latin1() );
+ tqDebug( "out = %s", out.latin1() );
// second reversing for numbers
QString in = out;
out = "";
@@ -259,7 +259,7 @@ static QString reverseLine(const QString &str, unsigned int from, unsigned int t
case QChar::DirR:
if ( runDir == QChar::DirEN && runDir != QChar::DirON ) {
out += run( in, from, pos, QChar::DirR ); //DirR ensures reversing
- qDebug( "out = %s", out.latin1() );
+ tqDebug( "out = %s", out.latin1() );
runDir = QChar::DirR;
from = pos;
}
@@ -269,7 +269,7 @@ static QString reverseLine(const QString &str, unsigned int from, unsigned int t
case QChar::DirEN:
if ( runDir != QChar::DirEN && runDir != QChar::DirON ) {
out += in.mid(from, pos-from+1);
- qDebug( "out = %s", out.latin1() );
+ tqDebug( "out = %s", out.latin1() );
from = pos;
}
runDir = QChar::DirEN;
@@ -437,7 +437,7 @@ static QString visualOrder(QString logical, QChar::Direction basicDir)
}
int i;
for (i = 0; i < nitems; ++i) {
- //qDebug("item %d bidiLevel=%d", i, e.items[i].analysis.bidiLevel);
+ //tqDebug("item %d bidiLevel=%d", i, e.items[i].analysis.bidiLevel);
levels[i] = e.items[i].analysis.bidiLevel;
}
e.bidiReorder(nitems, levels, visualOrder);