diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:21:06 -0600 |
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:21:06 -0600 |
| commit | 7d18baa666593a494ceea480732a8540ba471fe5 (patch) | |
| tree | 1c656ba0da61a3bfcf4c4de730e66322865844fe /kchart/kdchart/KDDrawText.cpp | |
| parent | 951839808408bed4165fc025dbf00caf59ea319b (diff) | |
| download | koffice-7d18baa666593a494ceea480732a8540ba471fe5.tar.gz koffice-7d18baa666593a494ceea480732a8540ba471fe5.zip | |
Rename additional global TQt functions
Diffstat (limited to 'kchart/kdchart/KDDrawText.cpp')
| -rw-r--r-- | kchart/kdchart/KDDrawText.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kchart/kdchart/KDDrawText.cpp b/kchart/kdchart/KDDrawText.cpp index c09851349..09c0bb785 100644 --- a/kchart/kdchart/KDDrawText.cpp +++ b/kchart/kdchart/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() ), |
