summaryrefslogtreecommitdiffstats
path: root/kttsd/filters/xmltransformer/xmltransformerproc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kttsd/filters/xmltransformer/xmltransformerproc.cpp')
-rw-r--r--kttsd/filters/xmltransformer/xmltransformerproc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kttsd/filters/xmltransformer/xmltransformerproc.cpp b/kttsd/filters/xmltransformer/xmltransformerproc.cpp
index f9fc2e6..27c4cd4 100644
--- a/kttsd/filters/xmltransformer/xmltransformerproc.cpp
+++ b/kttsd/filters/xmltransformer/xmltransformerproc.cpp
@@ -198,7 +198,7 @@ bool XmlTransformerProc::init(KConfig* config, const TQString& configGroup)
found = false;
for ( uint ndx=0; ndx < m_appIdList.count(); ++ndx )
{
- if ( appIdStr.tqcontains(m_appIdList[ndx]) )
+ if ( appIdStr.contains(m_appIdList[ndx]) )
{
found = true;
break;
@@ -227,7 +227,7 @@ bool XmlTransformerProc::init(KConfig* config, const TQString& configGroup)
// This will change & inside a CDATA section, which is not good, and also within comments and
// processing instructions, which is OK because we don't speak those anyway.
TQString text = inputText;
- text.tqreplace(TQRegExp("&(?!amp;)"),"&amp;");
+ text.replace(TQRegExp("&(?!amp;)"),"&amp;");
*wstream << text;
inFile.close();
#if KDE_VERSION >= KDE_MAKE_VERSION (3,3,0)