summaryrefslogtreecommitdiffstats
path: root/libkdchart/KDDrawText.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
commit7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2 (patch)
tree6a288b084438ed144c0fbd4a34a9a22caf4d6b04 /libkdchart/KDDrawText.cpp
parent154e6e6105157c321cbd578d238c525da419f868 (diff)
downloadkmymoney-7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2.tar.gz
kmymoney-7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkdchart/KDDrawText.cpp')
-rw-r--r--libkdchart/KDDrawText.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libkdchart/KDDrawText.cpp b/libkdchart/KDDrawText.cpp
index 2ef9308..a954a5b 100644
--- a/libkdchart/KDDrawText.cpp
+++ b/libkdchart/KDDrawText.cpp
@@ -163,13 +163,13 @@ void KDDrawText::drawRotatedTxt( TQPainter* painter,
pFM = const_cast<TQFontMetrics*>(fontMet);
}
- int nLF = text.tqcontains('\n');
+ int nLF = text.contains('\n');
if( INT_MAX == txtWidth ) {
if( nLF ){
int tw;
txtWidth = 0;
int i0 = 0;
- int iLF = text.tqfind('\n');
+ int iLF = text.find('\n');
while( -1 != iLF ){
const TQRect r(pFM->boundingRect( text.mid(i0, iLF-i0) ));
tw = r.width()+ 2;
@@ -177,7 +177,7 @@ void KDDrawText::drawRotatedTxt( TQPainter* painter,
if( tw > txtWidth )
txtWidth = tw;
i0 = iLF+1;
- iLF = text.tqfind('\n', i0);
+ iLF = text.find('\n', i0);
}
if( iLF < (int)text.length() ){
const TQRect r(pFM->boundingRect( text.mid( i0 ) ));