From b6edfe41c9395f2e20784cbf0e630af6426950a3 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: 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 --- kpresenter/KPrAutoformObject.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kpresenter/KPrAutoformObject.cpp') 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 ); -- cgit v1.2.3