Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to use libpsi Idle class
Nap. last edited by Nap.
Would anyone have a working example of how to use the
Idleclass that comes in
libpsion Ubuntu 16.04?
I am looking to see how to detect idle time on the host so I can trigger a 'screen saver' after a certain amount of idle time. Another question about the Idle class is; does it rely on having the screen turned off? (No point showing a screen saver if the screen is off.)
Do you mean this class
It seems to check if cursor have been moved.
To use it, include the file ( or use the .pri file) and hook up signal
to your own slot
then call start on the object.
(did not try but seems very straightforward)