diff options
Diffstat (limited to 'kchart/kdchart/KDChartPainter.cpp')
-rw-r--r-- | kchart/kdchart/KDChartPainter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kchart/kdchart/KDChartPainter.cpp b/kchart/kdchart/KDChartPainter.cpp index 987857aa..156d5d82 100644 --- a/kchart/kdchart/KDChartPainter.cpp +++ b/kchart/kdchart/KDChartPainter.cpp @@ -494,7 +494,7 @@ void KDChartPainter::paintDataValues( TQPainter* painter, region->text = "+LEMNISKATE"; else { region->text.setNum( value, 'f', digits ); - if ( autoDigits && region->text.tqcontains( '.' ) ) { + if ( autoDigits && region->text.contains( '.' ) ) { int len = region->text.length(); while ( 3 < len && '0' == region->text[ len-1 ] @@ -518,7 +518,7 @@ void KDChartPainter::paintDataValues( TQPainter* painter, region = regions->next() ) if ( ( ( lastDigitIrrelevant0 && !region->chart ) || ( lastDigitIrrelevant1 && region->chart ) ) - && region->text.tqcontains( '.' ) + && region->text.contains( '.' ) && ( 2 < region->text.length() ) ) region->text.truncate ( region->text.length() - 2 ); @@ -1931,7 +1931,7 @@ void KDChartPainter::calculateAllAxesRects( if( KDCHART_AXIS_LABELS_AUTO_DATETIME_FORMAT == format ) areaMin = TQMAX( areaMin, static_cast < int > ( fntHeight * 6.75 ) ); else - areaMin = TQMAX( areaMin, fntHeight * ( 3 + format.tqcontains("\n") ) ); + areaMin = TQMAX( areaMin, fntHeight * ( 3 + format.contains("\n") ) ); } else areaMin = TQMAX( areaMin, fntHeight * 3 ); @@ -2851,7 +2851,7 @@ void KDChartPainter::drawExtraLinesAndMarkers( // we can safely call the following functions and ignore their // return values since they will touch the parameters' values - // if the propSet *tqcontains* corresponding own values only. + // if the propSet *contains* corresponding own values only. int iDummy; uint extraLinesAlign = 0; if( propSet.hasOwnExtraLinesAlign( iDummy, extraLinesAlign ) |