From c76553c4fb3ee8f839c17b4dc3c3beb3c4338eb3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 7 Jul 2019 22:14:25 +0900 Subject: tdehw: TRUE/FALSE --> true/false renaming. Signed-off-by: Michele Calgaro --- tdecore/tdehw/tdehardwaredevices.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tdecore/tdehw/tdehardwaredevices.cpp') 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(); -- cgit v1.2.1