From f04d5a36adcd7ed3849108fca0ee9e6899eccb1c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 1 Jun 2013 18:24:00 -0500 Subject: Disable polling of triggerless devices by default This resolves Bug 1516 --- tdecore/tdehardwaredevices.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tdecore/tdehardwaredevices.h') diff --git a/tdecore/tdehardwaredevices.h b/tdecore/tdehardwaredevices.h index 54cba4c29..70c528a85 100644 --- a/tdecore/tdehardwaredevices.h +++ b/tdecore/tdehardwaredevices.h @@ -2023,6 +2023,15 @@ class TDECORE_EXPORT TDEHardwareDevices : public TQObject */ void rescanDeviceInformation(TDEGenericDevice* hwdevice); + /** + * Enable or disable automatic state updates of triggerless hardware devices + * such as CPUs and network cards. When enabled, your application will use + * additional CPU resources to continually poll triggerless hardware devices. + * Automatic updates are disabled by default. + * @param enable a bool specifiying whether or not automatic updates should be enabled + */ + void setTriggerlessHardwareUpdatesEnabled(bool enable); + /** * Convert a byte count to human readable form * @param bytes a double containing the number of bytes -- cgit v1.2.1