diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch) | |
tree | 766a8ad7939fcf3eec534184c36bd0e0f80489e2 /kioslaves/mbox | |
parent | 469cc56a805bd3d6940d54adbef554877c29853c (diff) | |
download | tdepim-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 'kioslaves/mbox')
-rw-r--r-- | kioslaves/mbox/readmbox.cc | 2 | ||||
-rw-r--r-- | kioslaves/mbox/stat.cc | 2 | ||||
-rw-r--r-- | kioslaves/mbox/urlinfo.cc | 2 |
3 files changed, 3 insertions, 3 deletions
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 ) |