From aa85254cd16cb870b8d1649ef1dbad09bd8491e8 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 1 Mar 2012 13:19:48 -0600 Subject: Rename additional global TQt functions --- libkdchart/KDDrawText.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'libkdchart/KDDrawText.cpp') 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() ), -- cgit v1.2.1