summaryrefslogtreecommitdiffstats
path: root/kioslaves/mbox
diff options
context:
space:
mode:
Diffstat (limited to 'kioslaves/mbox')
-rw-r--r--kioslaves/mbox/stat.cc6
-rw-r--r--kioslaves/mbox/urlinfo.cc2
2 files changed, 4 insertions, 4 deletions
diff --git a/kioslaves/mbox/stat.cc b/kioslaves/mbox/stat.cc
index 00285b149..093701e05 100644
--- a/kioslaves/mbox/stat.cc
+++ b/kioslaves/mbox/stat.cc
@@ -50,7 +50,7 @@ KIO::UDSEntry Stat::stat( ReadMBox& mbox, const UrlInfo& info )
Stat::addAtom( entry, KIO::UDS_FILE_TYPE, S_IFREG );
Stat::addAtom( entry, KIO::UDS_MIME_TYPE, "message/rfc822" );
- url = TQString( "mbox:%1/%2" ).arg( info.filename(), mbox.currentID() );
+ url = TQString( "mbox:%1/%2" ).tqarg( info.filename(), mbox.currentID() );
Stat::addAtom( entry, KIO::UDS_URL, url );
if( mbox.currentID().isEmpty() )
Stat::addAtom( entry, KIO::UDS_NAME, "foobar" );
@@ -79,14 +79,14 @@ KIO::UDSEntry Stat::statMessage( const UrlInfo& info )
{
kdDebug() << "statMessage( " << info.url() << " )" << endl;
KIO::UDSEntry entry;
- TQString url = TQString( "mbox:%1" ).arg( info.url() );
+ TQString url = TQString( "mbox:%1" ).tqarg( info.url() );
//Specific things for a message
Stat::addAtom( entry, KIO::UDS_FILE_TYPE, S_IFREG );
Stat::addAtom( entry, KIO::UDS_MIME_TYPE, "message/rfc822" );
Stat::addAtom( entry, KIO::UDS_URL, url );
- url = url.right( url.length() - url.findRev( "/" ) - 1 );
+ url = url.right( url.length() - url.tqfindRev( "/" ) - 1 );
Stat::addAtom( entry, KIO::UDS_NAME, url );
return entry;
diff --git a/kioslaves/mbox/urlinfo.cc b/kioslaves/mbox/urlinfo.cc
index d59c77ac8..2a35ce2ea 100644
--- a/kioslaves/mbox/urlinfo.cc
+++ b/kioslaves/mbox/urlinfo.cc
@@ -111,7 +111,7 @@ bool UrlInfo::isMessage( const KURL& url )
{
TQString path = url.path();
TQFileInfo info;
- int cutindex = path.findRev( '/' );
+ int cutindex = path.tqfindRev( '/' );
//Does it contain at least one /?
if( cutindex < 0 )