summaryrefslogtreecommitdiffstats
path: root/kmail/kmreaderwin.cpp
diff options
context:
space:
mode:
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 b8937dc06..19f0410a9 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);