diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:19:48 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:19:48 -0600 |
commit | aa85254cd16cb870b8d1649ef1dbad09bd8491e8 (patch) | |
tree | 850c18efae9bd6bc03f83c16fe4caf8670b67f43 /libkdchart/KDChartTextPiece.cpp | |
parent | 4aafeadd9f7ae0e603589579d467588c7421a283 (diff) | |
download | kmymoney-aa85254cd16cb870b8d1649ef1dbad09bd8491e8.tar.gz kmymoney-aa85254cd16cb870b8d1649ef1dbad09bd8491e8.zip |
Rename additional global TQt functions
Diffstat (limited to 'libkdchart/KDChartTextPiece.cpp')
-rw-r--r-- | libkdchart/KDChartTextPiece.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libkdchart/KDChartTextPiece.cpp b/libkdchart/KDChartTextPiece.cpp index b95165f..ddb9c0f 100644 --- a/libkdchart/KDChartTextPiece.cpp +++ b/libkdchart/KDChartTextPiece.cpp @@ -76,11 +76,11 @@ KDChartTextPiece::KDChartTextPiece( TQPainter *p, const TQString& text, const TQ if( TQStyleSheet::mightBeRichText( text ) ) { _isRichText = true; _richText = new TQSimpleRichText( text, font ); - //qDebug( "richtext width %s", TQString::number(_richText->width()).latin1()); - //qDebug( "richtext height %s", TQString::number(_richText->height()).latin1()); + //tqDebug( "richtext width %s", TQString::number(_richText->width()).latin1()); + //tqDebug( "richtext height %s", TQString::number(_richText->height()).latin1()); _richText->adjustSize(); - //qDebug( "richtext width %s", TQString::number(_richText->width()).latin1()); - //qDebug( "richtext height %s", TQString::number(_richText->height()).latin1()); + //tqDebug( "richtext width %s", TQString::number(_richText->width()).latin1()); + //tqDebug( "richtext height %s", TQString::number(_richText->height()).latin1()); } else { _isRichText = false; @@ -91,13 +91,13 @@ KDChartTextPiece::KDChartTextPiece( TQPainter *p, const TQString& text, const TQ _dirtyMetrics = (p == 0); if( _dirtyMetrics ) { _metrics = new TQFontMetrics( font ); - //qDebug("dirty metrics text: %s", text.latin1()); + //tqDebug("dirty metrics text: %s", text.latin1()); } else{ p->save(); p->setFont( font ); _metrics = new TQFontMetrics( p->fontMetrics() ); - //qDebug ( "drawing metrics text: %s", text.latin1() ); + //tqDebug ( "drawing metrics text: %s", text.latin1() ); //p->drawRect( _metrics->boundingRect( text) ); //p->drawText( _metrics->boundingRect(text).bottomRight(), text); p->restore(); @@ -160,12 +160,12 @@ int KDChartTextPiece::height() const { if( _isRichText ) { - //qDebug ("_richText height %s", TQString::number(_richText->height()).latin1()); + //tqDebug ("_richText height %s", TQString::number(_richText->height()).latin1()); return _richText->height(); } else { - //qDebug ("_metrics height %s", TQString::number(_metrics->height()).latin1()); + //tqDebug ("_metrics height %s", TQString::number(_metrics->height()).latin1()); return _metrics->height(); } } |