From 5173e6fcb16310e130fba4143e334563b4f8460e 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/applications/kdiff3@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/fileaccess.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/fileaccess.cpp') diff --git a/src/fileaccess.cpp b/src/fileaccess.cpp index 70855c0..b2457a9 100644 --- a/src/fileaccess.cpp +++ b/src/fileaccess.cpp @@ -151,7 +151,7 @@ void FileAccess::setFile( const TQString& name, bool bWantToWrite ) m_url.setPath( m_absFilePath ); } - if ( !m_bExists && m_absFilePath.tqcontains("@@") ) + if ( !m_bExists && m_absFilePath.contains("@@") ) { // Try reading a clearcase file m_localCopy = FileAccess::tempFileName(); @@ -294,7 +294,7 @@ void FileAccess::setUdsEntry( const KIO::UDSEntry& e ) m_bSymLink = !m_linkTarget.isEmpty(); if ( m_name.isEmpty() ) { - int pos = m_path.tqfindRev('/') + 1; + int pos = m_path.findRev('/') + 1; m_name = m_path.mid( pos ); } m_bHidden = m_name[0]=='.'; @@ -1048,7 +1048,7 @@ void CvsIgnoreList::addEntriesFromString(const TQString& str) { int posLast(0); int pos; - while ((pos = str.tqfind(' ', posLast)) >= 0) + while ((pos = str.find(' ', posLast)) >= 0) { if (pos > posLast) addEntry(str.mid(posLast, pos - posLast)); @@ -1132,7 +1132,7 @@ void CvsIgnoreList::addEntry(const TQString& pattern) bool CvsIgnoreList::matches(const TQString& text, bool bCaseSensitive ) const { - if (m_exactPatterns.tqfind(text) != m_exactPatterns.end()) + if (m_exactPatterns.find(text) != m_exactPatterns.end()) { return true; } -- cgit v1.2.1