From f4fae92b6768541e2952173c3d4b09040f95bf7e Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 16 Feb 2011 20:17:18 +0000 Subject: Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkdepim/spellingfilter.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libkdepim/spellingfilter.cpp') diff --git a/libkdepim/spellingfilter.cpp b/libkdepim/spellingfilter.cpp index cc94968d4..e57745e50 100644 --- a/libkdepim/spellingfilter.cpp +++ b/libkdepim/spellingfilter.cpp @@ -89,7 +89,7 @@ void SpellingFilter::TextCensor::censorQuotations(const TQString& quotePrefix) int len = mPos - start; TQString spaces; spaces.fill(' ', len); - mText.replace(start, len, spaces); + mText.tqreplace(start, len, spaces); //kdDebug(5006) << "censored quotation [" // << start << ", " << mPos << ")" << endl; @@ -116,7 +116,7 @@ void SpellingFilter::TextCensor::censorUrls() // Replace url with spaces url.fill(' '); - mText.replace(start, url.length(), url); + mText.tqreplace(start, url.length(), url); //kdDebug(5006) << "censored url [" // << start << ", " << mPos << ")" << endl; @@ -141,7 +141,7 @@ void SpellingFilter::TextCensor::censorEmailAddresses() // Replace address with spaces address.fill(' '); - mText.replace(start, address.length(), address); + mText.tqreplace(start, address.length(), address); //kdDebug(5006) << "censored addr [" // << start << ", "<< mPos << ")" << endl; @@ -162,7 +162,7 @@ void SpellingFilter::TextCensor::censorString(const TQString& s) // Replace string with spaces TQString spaces; spaces.fill(' ', s.length()); - mText.replace(mPos, s.length(), spaces); + mText.tqreplace(mPos, s.length(), spaces); mPos += s.length(); //kdDebug(5006) << "censored string [" -- cgit v1.2.1