From fe9b5d95c9a717fea16685ed7c175e1659d7127c 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/kpowersave@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/hardware_cpu.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/hardware_cpu.cpp') diff --git a/src/hardware_cpu.cpp b/src/hardware_cpu.cpp index 5af515c..1473a6d 100644 --- a/src/hardware_cpu.cpp +++ b/src/hardware_cpu.cpp @@ -82,7 +82,7 @@ int CPUInfo::getCPUNum() { int tmp = cpu_id; cpu_id++; - cpu_path.tqreplace(TQString::number(tmp), TQString::number(cpu_id)); + cpu_path.replace(TQString::number(tmp), TQString::number(cpu_id)); tmp_path = tmp_dir.absFilePath(cpu_path, true); } @@ -141,7 +141,7 @@ int CPUInfo::checkCPUSpeed(){ cpufreq_speed.append(new_value); } - cpu_device.tqreplace(TQString::number(cpu_id), TQString::number(cpu_id+1)); + cpu_device.replace(TQString::number(cpu_id), TQString::number(cpu_id+1)); } if (speed_changed) { @@ -306,7 +306,7 @@ void CPUInfo::getCPUMaxSpeed() { close(fd); } - cpu_device_max.tqreplace(TQString::number(cpu_id), TQString::number(cpu_id+1)); + cpu_device_max.replace(TQString::number(cpu_id), TQString::number(cpu_id+1)); } kdDebugFuncOut(trace); -- cgit v1.2.1