summaryrefslogtreecommitdiffstats
path: root/libkdchart/KDDrawText.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:19:48 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:19:48 -0600
commitaa85254cd16cb870b8d1649ef1dbad09bd8491e8 (patch)
tree850c18efae9bd6bc03f83c16fe4caf8670b67f43 /libkdchart/KDDrawText.cpp
parent4aafeadd9f7ae0e603589579d467588c7421a283 (diff)
downloadkmymoney-aa85254cd16cb870b8d1649ef1dbad09bd8491e8.tar.gz
kmymoney-aa85254cd16cb870b8d1649ef1dbad09bd8491e8.zip
Rename additional global TQt functions
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() ),