summaryrefslogtreecommitdiffstats
path: root/src/hardware_cpu.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commitfe9b5d95c9a717fea16685ed7c175e1659d7127c (patch)
treed25f548cddafc13b0336fd1a900ce01a62c4c88c /src/hardware_cpu.cpp
parent3cdd44798b7565639ca08dc051fbe21e41d546fa (diff)
downloadkpowersave-fe9b5d95c9a717fea16685ed7c175e1659d7127c.tar.gz
kpowersave-fe9b5d95c9a717fea16685ed7c175e1659d7127c.zip
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
Diffstat (limited to 'src/hardware_cpu.cpp')
-rw-r--r--src/hardware_cpu.cpp6
1 files changed, 3 insertions, 3 deletions
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);