summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/hardware_battery.cpp2
-rw-r--r--src/hardware_cpu.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/hardware_battery.cpp b/src/hardware_battery.cpp
index 2ade257..ac18b52 100644
--- a/src/hardware_battery.cpp
+++ b/src/hardware_battery.cpp
@@ -65,7 +65,7 @@ Battery::Battery( TQString _udi ) {
if (trace) kdDebug() << funcinfo << "IN , udi: " << udi << endl;
m_hwdevices = TDEGlobal::hardwareDevices();
- m_hwdevices->setTriggerlessHardwareUpdatesEnabled(true);
+ m_hwdevices->setBatteryUpdatesEnabled(true);
udi = _udi;
diff --git a/src/hardware_cpu.cpp b/src/hardware_cpu.cpp
index a47fa31..e87de1a 100644
--- a/src/hardware_cpu.cpp
+++ b/src/hardware_cpu.cpp
@@ -48,7 +48,7 @@ CPUInfo::CPUInfo() {
numOfCPUs = -1;
m_hwdevices = TDEGlobal::hardwareDevices();
- m_hwdevices->setTriggerlessHardwareUpdatesEnabled(true);
+ m_hwdevices->setBatteryUpdatesEnabled(true);
kdDebugFuncOut(trace);
}