From 36c36b53a129509d56fdaa0a7c9fcbcacd0c5826 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/kdewebdev@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- quanta/treeviews/doctreeview.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'quanta/treeviews/doctreeview.cpp') diff --git a/quanta/treeviews/doctreeview.cpp b/quanta/treeviews/doctreeview.cpp index 0541b25b..99f1f4bd 100644 --- a/quanta/treeviews/doctreeview.cpp +++ b/quanta/treeviews/doctreeview.cpp @@ -138,11 +138,11 @@ void DocTreeView::clickItem( TQListViewItem *) TQString * DocTreeView::contextHelp(const TQString &keyword) { - TQString word = keyword.mid(keyword.tqfind("|")); - if (contextHelpDict->tqfind(keyword)) - return contextHelpDict->tqfind(keyword); + TQString word = keyword.mid(keyword.find("|")); + if (contextHelpDict->find(keyword)) + return contextHelpDict->find(keyword); else - return contextHelpDict->tqfind(word); //to support old documentation packages + return contextHelpDict->find(word); //to support old documentation packages } void DocTreeView::slotDoubleClicked(TQListViewItem *item ) @@ -156,7 +156,7 @@ void DocTreeView::slotDoubleClicked(TQListViewItem *item ) void DocTreeView::slotAddProjectDoc(const KURL& url) { TQString path = url.path(); - int pos = path.tqfind("/doc/"); + int pos = path.find("/doc/"); path = path.mid(pos + 5); new DocItem(projectDocFolder, path, url.url()); } -- cgit v1.2.1