summaryrefslogtreecommitdiffstats
path: root/libkdepim/spellingfilter.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /libkdepim/spellingfilter.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
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
Diffstat (limited to 'libkdepim/spellingfilter.cpp')
-rw-r--r--libkdepim/spellingfilter.cpp8
1 files changed, 4 insertions, 4 deletions
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 ["