From 4c6f8d69e2d1501837affb472c4eb8fec4462240 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: 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 --- kioslaves/mbox/readmbox.cc | 2 +- kioslaves/mbox/stat.cc | 2 +- kioslaves/mbox/urlinfo.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'kioslaves/mbox') diff --git a/kioslaves/mbox/readmbox.cc b/kioslaves/mbox/readmbox.cc index 32f52d5b3..cc8503a5d 100644 --- a/kioslaves/mbox/readmbox.cc +++ b/kioslaves/mbox/readmbox.cc @@ -104,7 +104,7 @@ bool ReadMBox::nextLine() } else if( m_only_new ) { if( m_header && m_current_line->left( 7 ) == "tqStatus:" && - ! m_current_line->tqcontains( "U" ) && ! m_current_line->tqcontains( "N" ) ) + ! m_current_line->contains( "U" ) && ! m_current_line->contains( "N" ) ) { m_status = false; } diff --git a/kioslaves/mbox/stat.cc b/kioslaves/mbox/stat.cc index 093701e05..6d5bf75a6 100644 --- a/kioslaves/mbox/stat.cc +++ b/kioslaves/mbox/stat.cc @@ -86,7 +86,7 @@ KIO::UDSEntry Stat::statMessage( const UrlInfo& info ) Stat::addAtom( entry, KIO::UDS_MIME_TYPE, "message/rfc822" ); Stat::addAtom( entry, KIO::UDS_URL, url ); - url = url.right( url.length() - url.tqfindRev( "/" ) - 1 ); + url = url.right( url.length() - url.findRev( "/" ) - 1 ); Stat::addAtom( entry, KIO::UDS_NAME, url ); return entry; diff --git a/kioslaves/mbox/urlinfo.cc b/kioslaves/mbox/urlinfo.cc index 2a35ce2ea..d59c77ac8 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.tqfindRev( '/' ); + int cutindex = path.findRev( '/' ); //Does it contain at least one /? if( cutindex < 0 ) -- cgit v1.2.1