From a53c68f02a359d234dee62dfa3bdd12bb17b13b5 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/kdeaccessibility@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksayit/src/doctreeviewimpl.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'ksayit/src/doctreeviewimpl.cpp') diff --git a/ksayit/src/doctreeviewimpl.cpp b/ksayit/src/doctreeviewimpl.cpp index db6ed32..c4b9797 100644 --- a/ksayit/src/doctreeviewimpl.cpp +++ b/ksayit/src/doctreeviewimpl.cpp @@ -197,7 +197,7 @@ void DocTreeViewImpl::openFile(const KURL &url) TQString line; int offset; file.readLine( line, file.size() ); - while( !file.atEnd() && (offset = line.tqfind("getValue(KSayItGlobal::SPEAKERDATA) ).toString().left(32); // canonify string - title.tqreplace( TQRegExp("^( |\t|\n)+"), ""); - title.tqreplace( TQRegExp("( |\t|\n)$+"), ""); + title.replace( TQRegExp("^( |\t|\n)+"), ""); + title.replace( TQRegExp("( |\t|\n)$+"), ""); } else { title = col0.left(32); } -- cgit v1.2.1