summaryrefslogtreecommitdiffstats
path: root/knode/knstringfilter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knode/knstringfilter.cpp')
-rw-r--r--knode/knstringfilter.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/knode/knstringfilter.cpp b/knode/knstringfilter.cpp
index 4f69f7eaf..3f866902b 100644
--- a/knode/knstringfilter.cpp
+++ b/knode/knstringfilter.cpp
@@ -57,7 +57,7 @@ bool KNStringFilter::doFilter(const TQString &s)
-// replace placeholders
+// tqreplace placeholders
void KNStringFilter::expand(KNGroup *g)
{
KNConfig::Identity *id = (g) ? g->identity() : 0;
@@ -69,15 +69,15 @@ void KNStringFilter::expand(KNGroup *g)
}
expanded = data;
- expanded.replace(TQRegExp("%MYNAME"), id->name());
- expanded.replace(TQRegExp("%MYEMAIL"), id->email());
+ expanded.tqreplace(TQRegExp("%MYNAME"), id->name());
+ expanded.tqreplace(TQRegExp("%MYEMAIL"), id->email());
}
void KNStringFilter::load(KSimpleConfig *conf)
{
- con=conf->readBoolEntry("contains", true);
+ con=conf->readBoolEntry("tqcontains", true);
data=conf->readEntry("Data");
regExp=conf->readBoolEntry("regX", false);
}
@@ -86,7 +86,7 @@ void KNStringFilter::load(KSimpleConfig *conf)
void KNStringFilter::save(KSimpleConfig *conf)
{
- conf->writeEntry("contains", con);
+ conf->writeEntry("tqcontains", con);
conf->writeEntry("Data", data);
conf->writeEntry("regX", regExp);
}