diff options
Diffstat (limited to 'kfilereplace/configurationclasses.cpp')
-rw-r--r-- | kfilereplace/configurationclasses.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kfilereplace/configurationclasses.cpp b/kfilereplace/configurationclasses.cpp index f0c6bcc4..8d0ff303 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).contains('\n')+1; + return line.mid(0,m_pos).tqcontains('\n')+1; } int ResultViewEntry::columnNumber(const TQString& line) const { - return(m_pos - line.findRev('\n',m_pos)); + return(m_pos - line.tqfindRev('\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.find(m_key, m_pos, m_caseSensitive); + m_pos = line.tqfind(m_key, m_pos, m_caseSensitive); return m_pos; } @@ -164,8 +164,8 @@ TQString ResultViewEntry::capturedText(const TQString& line) TQString ResultViewEntry::message(const TQString& capturedText, int x, int y) const { TQString data = m_data; - //return i18n(" captured text \"%1\" replaced with \"%2\" at line: %3, column: %4 ").arg(capturedText).arg(data).arg(TQString::number(x,10)).arg(TQString::number(y,10)); - return i18n(" Line:%3,Col:%4 - \"%1\" -> \"%2\"").arg(capturedText).arg(data).arg(TQString::number(x,10)).arg(TQString::number(y,10)); + //return i18n(" captured text \"%1\" replaced with \"%2\" at line: %3, column: %4 ").tqarg(capturedText).tqarg(data).tqarg(TQString::number(x,10)).tqarg(TQString::number(y,10)); + return i18n(" Line:%3,Col:%4 - \"%1\" -> \"%2\"").tqarg(capturedText).tqarg(data).tqarg(TQString::number(x,10)).tqarg(TQString::number(y,10)); } int ResultViewEntry::keyLength() const |