summaryrefslogtreecommitdiffstats
path: root/libkdchart/KDDrawText.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdchart/KDDrawText.cpp')
-rw-r--r--libkdchart/KDDrawText.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/libkdchart/KDDrawText.cpp b/libkdchart/KDDrawText.cpp
index c098513..09c0bb7 100644
--- a/libkdchart/KDDrawText.cpp
+++ b/libkdchart/KDDrawText.cpp
@@ -124,7 +124,7 @@ void KDDrawText::drawRotatedTxt( TQPainter* painter,
{
// showAnchor=true;
- //qDebug("\nanchor: "+ text + " / "+TQString::number(anchor.x())
+ //tqDebug("\nanchor: "+ text + " / "+TQString::number(anchor.x())
// +" / "+TQString::number(anchor.y()));
bool useInfos = doNotCalculate && infos;
bool fontChanged = ( 0 != font );
@@ -219,11 +219,11 @@ void KDDrawText::drawRotatedTxt( TQPainter* painter,
}
int x = useInfos ? infos->x : pos.x();
int y = useInfos ? infos->y : pos.y();
- //qDebug("1.: (x / y) :" + text + " / "+TQString::number(x)
+ //tqDebug("1.: (x / y) :" + text + " / "+TQString::number(x)
// +" / "+TQString::number(y));
- //qDebug("2.: (posx / posy) :" + text );
- // qDebug ( "%d", pos.x() ); qDebug ( "%d", pos.y() );
- //qDebug("3.: (infosx / infosy) :" + text + " / "+TQString::number(infos->x)
+ //tqDebug("2.: (posx / posy) :" + text );
+ // tqDebug ( "%d", pos.x() ); tqDebug ( "%d", pos.y() );
+ //tqDebug("3.: (infosx / infosy) :" + text + " / "+TQString::number(infos->x)
// +" / "+TQString::number(infos->y));
if( !useInfos && !optimizeOutputForScreen ) {
@@ -231,7 +231,7 @@ void KDDrawText::drawRotatedTxt( TQPainter* painter,
case TQt::AlignLeft:
break;
case TQt::AlignRight:
-//qDebug( TQPaintDeviceMetrics::logicalDpiX() );
+//tqDebug( TQPaintDeviceMetrics::logicalDpiX() );
x -= txtWidth;
break;
case TQt::AlignHCenter:
@@ -254,11 +254,11 @@ void KDDrawText::drawRotatedTxt( TQPainter* painter,
infos->x = x - 4;
infos->y = y - 4;
//PENDING Michel updating info using x , y from pos
- //qDebug("4.: (infosx / infosy) :" + text + " / "+TQString::number(infos->x)
+ //tqDebug("4.: (infosx / infosy) :" + text + " / "+TQString::number(infos->x)
//+" / "+TQString::number(infos->y));
- //qDebug("5.: (x / y) :" + text + " / "+TQString::number(x)
+ //tqDebug("5.: (x / y) :" + text + " / "+TQString::number(x)
// +" / "+TQString::number(y));
- //qDebug("6.: (anchorx /anchory) :" + text + " / "+TQString::number(x)
+ //tqDebug("6.: (anchorx /anchory) :" + text + " / "+TQString::number(x)
// +" / "+TQString::number(y));
TQRect rect( painter->boundingRect( x, y,
txtWidth, txtHeight,
@@ -312,7 +312,7 @@ void KDDrawText::drawRotatedTxt( TQPainter* painter,
}
if( !calculateOnly ){
- //qDebug("txtWidth: %i txtHeight: %i", txtWidth, txtHeight);
+ //tqDebug("txtWidth: %i txtHeight: %i", txtWidth, txtHeight);
if( !optimizeOutputForScreen ){
/*
painter->drawText( x, y,
@@ -464,7 +464,7 @@ void KDDrawText::drawRotatedTxt( TQPainter* painter,
}
break;
}
- //qDebug("2.: (x / y) : "+TQString::number(x)
+ //tqDebug("2.: (x / y) : "+TQString::number(x)
// +" / "+TQString::number(y));
painter->drawPixmap( TQPoint( x - pixPoint.x(),
y - pixPoint.y() ),