diff options
Diffstat (limited to 'src/fileaccess.cpp')
-rw-r--r-- | src/fileaccess.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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; } |