summaryrefslogtreecommitdiffstats
path: root/kchart/kdchart/KDChartPainter.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commitb6edfe41c9395f2e20784cbf0e630af6426950a3 (patch)
tree56ed9b871d4296e6c15949c24e16420be1b28697 /kchart/kdchart/KDChartPainter.cpp
parentef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff)
downloadkoffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.tar.gz
koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kchart/kdchart/KDChartPainter.cpp')
-rw-r--r--kchart/kdchart/KDChartPainter.cpp8
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 )