From 9a3f0aacd44fb866833ebcb852df3cd31475cb33 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/kdebase@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksysguard/gui/SensorDisplayLib/ProcessList.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ksysguard/gui/SensorDisplayLib/ProcessList.cc') diff --git a/ksysguard/gui/SensorDisplayLib/ProcessList.cc b/ksysguard/gui/SensorDisplayLib/ProcessList.cc index 342a6e5e5..0dc2faf53 100644 --- a/ksysguard/gui/SensorDisplayLib/ProcessList.cc +++ b/ksysguard/gui/SensorDisplayLib/ProcessList.cc @@ -486,7 +486,7 @@ ProcessList::buildList() addProcess(p, pli); - if (selectedPIds.tqfindIndex(p->pid()) != -1) + if (selectedPIds.findIndex(p->pid()) != -1) pli->setSelected(true); } pl.removeFirst(); @@ -513,7 +513,7 @@ ProcessList::buildTree() int pid = ps->pid(); pl.remove(); - if (selectedPIds.tqfindIndex(pid) != -1) + if (selectedPIds.findIndex(pid) != -1) pli->setSelected(true); // insert all child processes of current process @@ -569,10 +569,10 @@ ProcessList::extendTree(TQPtrList* pl, ProcessLVI* parent, addProcess(ps, pli); - if (selectedPIds.tqfindIndex(ps->pid()) != -1) + if (selectedPIds.findIndex(ps->pid()) != -1) pli->setSelected(true); - if (ps->ppid() != INIT_PID && closedSubTrees.tqfindIndex(ps->ppid()) != -1) + if (ps->ppid() != INIT_PID && closedSubTrees.findIndex(ps->ppid()) != -1) parent->setOpen(false); else parent->setOpen(true); -- cgit v1.2.1