summaryrefslogtreecommitdiffstats
path: root/src/hardware_cpu.cpp
diff options
context:
space:
mode:
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);