summaryrefslogtreecommitdiffstats
path: root/tdecore/tdehw/tdehardwaredevices.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-07-07 22:14:25 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-07-07 22:37:13 +0900
commitc76553c4fb3ee8f839c17b4dc3c3beb3c4338eb3 (patch)
tree165203f9bcab23defadc9c1f2a56c99365b5887f /tdecore/tdehw/tdehardwaredevices.cpp
parent32566accdab31f598381e7e68330055f4a7178f1 (diff)
downloadtdelibs-c76553c4fb3ee8f839c17b4dc3c3beb3c4338eb3.tar.gz
tdelibs-c76553c4fb3ee8f839c17b4dc3c3beb3c4338eb3.zip
tdehw: TRUE/FALSE --> true/false renaming.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdecore/tdehw/tdehardwaredevices.cpp')
-rw-r--r--tdecore/tdehw/tdehardwaredevices.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tdecore/tdehw/tdehardwaredevices.cpp b/tdecore/tdehw/tdehardwaredevices.cpp
index a1c884856..149ecab5f 100644
--- a/tdecore/tdehw/tdehardwaredevices.cpp
+++ b/tdecore/tdehw/tdehardwaredevices.cpp
@@ -127,7 +127,7 @@ TDEHardwareDevices::TDEHardwareDevices() {
dpy_id_map = 0;
// Set up device list
- m_deviceList.setAutoDelete( TRUE ); // the list owns the objects
+ m_deviceList.setAutoDelete( true ); // the list owns the objects
// Initialize udev interface
m_udevStruct = udev_new();
@@ -249,10 +249,10 @@ void TDEHardwareDevices::setTriggerlessHardwareUpdatesEnabled(bool enable) {
if (enable) {
TQDir nodezerocpufreq("/sys/devices/system/cpu/cpu0/cpufreq");
if (nodezerocpufreq.exists()) {
- m_cpuWatchTimer->start( 500, FALSE ); // 0.5 second repeating timer
+ m_cpuWatchTimer->start( 500, false ); // 0.5 second repeating timer
}
m_batteryWatchTimer->stop(); // Battery devices are included in stateless devices
- m_deviceWatchTimer->start( 1000, FALSE ); // 1 second repeating timer
+ m_deviceWatchTimer->start( 1000, false ); // 1 second repeating timer
}
else {
m_cpuWatchTimer->stop();
@@ -264,9 +264,9 @@ void TDEHardwareDevices::setBatteryUpdatesEnabled(bool enable) {
if (enable) {
TQDir nodezerocpufreq("/sys/devices/system/cpu/cpu0/cpufreq");
if (nodezerocpufreq.exists()) {
- m_cpuWatchTimer->start( 500, FALSE ); // 0.5 second repeating timer
+ m_cpuWatchTimer->start( 500, false ); // 0.5 second repeating timer
}
- m_batteryWatchTimer->start( 5000, FALSE ); // 5 second repeating timer
+ m_batteryWatchTimer->start( 5000, false ); // 5 second repeating timer
}
else {
m_cpuWatchTimer->stop();