summaryrefslogtreecommitdiffstats
path: root/tools/kfile-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'tools/kfile-plugins')
-rw-r--r--tools/kfile-plugins/abiword/kfile_abiword.cpp2
-rw-r--r--tools/kfile-plugins/ooo/kfile_ooo.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/kfile-plugins/abiword/kfile_abiword.cpp b/tools/kfile-plugins/abiword/kfile_abiword.cpp
index f643a649..ca130b15 100644
--- a/tools/kfile-plugins/abiword/kfile_abiword.cpp
+++ b/tools/kfile-plugins/abiword/kfile_abiword.cpp
@@ -66,7 +66,7 @@ bool AbiwordPlugin::readInfo( KFileMetaInfo& info, uint what)
//Find the last extension
TQString strExt;
- const int result=info.path().tqfindRev('.');
+ const int result=info.path().findRev('.');
if (result>=0)
{
strExt=info.path().mid(result);
diff --git a/tools/kfile-plugins/ooo/kfile_ooo.cpp b/tools/kfile-plugins/ooo/kfile_ooo.cpp
index 8d72d076..8b873ac1 100644
--- a/tools/kfile-plugins/ooo/kfile_ooo.cpp
+++ b/tools/kfile-plugins/ooo/kfile_ooo.cpp
@@ -391,7 +391,7 @@ bool KOfficePlugin::writeTextNode(TQDomDocument & doc,
if (nodeA.firstChild().isNull())
nodeA.appendChild(txtNode);
else
- nodeA.tqreplaceChild( txtNode, nodeA.firstChild());
+ nodeA.replaceChild( txtNode, nodeA.firstChild());
return true;
}
@@ -436,7 +436,7 @@ bool KOfficePlugin::writeInfo( const KFileMetaInfo& info) const
if (s != el.text()){
TQDomText txt = doc.createTextNode(s);
if (!el.firstChild().isNull())
- el.tqreplaceChild(txt, el.firstChild());
+ el.replaceChild(txt, el.firstChild());
else
el.appendChild(txt);
}