#include <dpmscontrol.h>
Static Public Methods | |
bool | getDpmsStatus () |
bool | enableDpms (bool enable=true) |
bool | disableDpms () |
You can call the static methods of this class directly from within another class to control the DPMS or to get its current status.
|
Static accessor method to get the status of the dpms. Returns true if DPMS is currently enabled, false if it is disabled. |
|
Static accessor method to enable or disable DPMS. Returns true if the operation was successful, false if it was not. |
|
Disables DPMS. Calls enableDpms(false). |