summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrAutoformObject.cpp
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 /kpresenter/KPrAutoformObject.cpp
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 'kpresenter/KPrAutoformObject.cpp')
-rw-r--r--kpresenter/KPrAutoformObject.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kpresenter/KPrAutoformObject.cpp b/kpresenter/KPrAutoformObject.cpp
index 774f9f3e3..88245f6db 100644
--- a/kpresenter/KPrAutoformObject.cpp
+++ b/kpresenter/KPrAutoformObject.cpp
@@ -174,15 +174,15 @@ double KPrAutoformObject::load(const TQDomElement &element)
if(filename[0]=='/') {
kdDebug(33001) << "rubbish ahead! cleaning up..." << endl;
// remove the leading absolute path (i.e. to create Arrow/Arrow1.atf)
- filename=filename.mid(filename.tqfindRev('/', filename.tqfindRev('/')-1)+1);
+ filename=filename.mid(filename.findRev('/', filename.findRev('/')-1)+1);
}
// okay... we changed the file format again and now the autoforms
// are stored in .../kpresenter/autoforms/.source/foo.atf (note: we didn't have .source
// before. Therefore we have to add this dir if it's not already there to make it
// work with old files
- if(filename.tqfind(".source")==-1) {
+ if(filename.find(".source")==-1) {
// okay, old file -- add the .source dir
- filename=filename.insert(filename.tqfind('/'), "/.source");
+ filename=filename.insert(filename.find('/'), "/.source");
}
filename = locate("autoforms", filename, KPrFactory::global());
atfInterp.load( filename );