diff options
Diffstat (limited to 'kfilereplace/configurationclasses.cpp')
-rw-r--r-- | kfilereplace/configurationclasses.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kfilereplace/configurationclasses.cpp b/kfilereplace/configurationclasses.cpp index 8d0ff303..bb66c3ef 100644 --- a/kfilereplace/configurationclasses.cpp +++ b/kfilereplace/configurationclasses.cpp @@ -104,12 +104,12 @@ ResultViewEntry::ResultViewEntry(TQString nkey, TQString ndata, bool regexp, boo int ResultViewEntry::lineNumber(const TQString& line) const { - return line.mid(0,m_pos).tqcontains('\n')+1; + return line.mid(0,m_pos).contains('\n')+1; } int ResultViewEntry::columnNumber(const TQString& line) const { - return(m_pos - line.tqfindRev('\n',m_pos)); + return(m_pos - line.findRev('\n',m_pos)); } void ResultViewEntry::incOccurrences() @@ -132,7 +132,7 @@ int ResultViewEntry::pos(const TQString& line) if(m_regexp) m_pos = m_rxKey.search(line,m_pos); else - m_pos = line.tqfind(m_key, m_pos, m_caseSensitive); + m_pos = line.find(m_key, m_pos, m_caseSensitive); return m_pos; } |