summaryrefslogtreecommitdiffstats
path: root/src/fileaccess.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit5173e6fcb16310e130fba4143e334563b4f8460e (patch)
tree52333f9eb0c94f760d4dddc8714671fb50f7b625 /src/fileaccess.cpp
parent7b4db4f16d44d4e9aeee241211827558acd64f17 (diff)
downloadkdiff3-5173e6fcb16310e130fba4143e334563b4f8460e.tar.gz
kdiff3-5173e6fcb16310e130fba4143e334563b4f8460e.zip
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
Diffstat (limited to 'src/fileaccess.cpp')
-rw-r--r--src/fileaccess.cpp8
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;
}