summaryrefslogtreecommitdiffstats
path: root/tools/kfile-plugins
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commitb6edfe41c9395f2e20784cbf0e630af6426950a3 (patch)
tree56ed9b871d4296e6c15949c24e16420be1b28697 /tools/kfile-plugins
parentef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff)
downloadkoffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.tar.gz
koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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);
}