summaryrefslogtreecommitdiffstats
path: root/kmail/kmreaderwin.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
commit4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch)
tree766a8ad7939fcf3eec534184c36bd0e0f80489e2 /kmail/kmreaderwin.cpp
parent469cc56a805bd3d6940d54adbef554877c29853c (diff)
downloadtdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.tar.gz
tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/kmreaderwin.cpp')
-rw-r--r--kmail/kmreaderwin.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kmail/kmreaderwin.cpp b/kmail/kmreaderwin.cpp
index b8937dc0..19f0410a 100644
--- a/kmail/kmreaderwin.cpp
+++ b/kmail/kmreaderwin.cpp
@@ -1694,7 +1694,7 @@ TQString KMReaderWin::writeMessagePartToTempFile( KMMessagePart* aMsgPart,
return TQString();
// strip off a leading path
- int slashPos = fileName.tqfindRev( '/' );
+ int slashPos = fileName.findRev( '/' );
if( -1 != slashPos )
fileName = fileName.mid( slashPos + 1 );
if( fileName.isEmpty() )
@@ -1764,8 +1764,8 @@ int KMReaderWin::msgPartFromUrl(const KURL &aUrl)
if (!aUrl.isLocalFile()) return -1;
TQString path = aUrl.path();
- uint right = path.tqfindRev('/');
- uint left = path.tqfindRev('.', right);
+ uint right = path.findRev('/');
+ uint left = path.findRev('.', right);
bool ok;
int res = path.mid(left + 1, right - left - 1).toInt(&ok);
@@ -1845,15 +1845,15 @@ bool foundSMIMEData( const TQString aUrl,
displayName = "";
libName = "";
keyId = "";
- int i1 = aUrl.tqfind( showCertMan );
+ int i1 = aUrl.find( showCertMan );
if( -1 < i1 ) {
i1 += showCertMan.length();
- int i2 = aUrl.tqfind(" ### ", i1);
+ int i2 = aUrl.find(" ### ", i1);
if( i1 < i2 )
{
displayName = aUrl.mid( i1, i2-i1 );
i1 = i2+5;
- i2 = aUrl.tqfind(" ### ", i1);
+ i2 = aUrl.find(" ### ", i1);
if( i1 < i2 )
{
libName = aUrl.mid( i1, i2-i1 );
@@ -2577,8 +2577,8 @@ KURL KMReaderWin::tempFileUrlFromPartNode( const partNode * node )
while ( it != end ) {
TQString path = *it;
it++;
- uint right = path.tqfindRev('/');
- uint left = path.tqfindRev('.', right);
+ uint right = path.findRev('/');
+ uint left = path.findRev('.', right);
bool ok;
int res = path.mid(left + 1, right - left - 1).toInt(&ok);