KUtils
kidletime.h
Go to the documentation of this file.
int idleTime() const
Retrieves the idle time of the system, in milliseconds.
Definition kidletime.cpp:255
void resumingFromIdle()
Triggered, if KIdleTime is catching resume events, when the system resumes from an idle state.
void timeoutReached(int identifier)
Triggered when the system has been idle for x milliseconds, identified by the previously set timeout.
void removeIdleTimeout(int identifier)
Stops catching the idle timeout identified by the token identifier, if it was registered earlier with...
Definition kidletime.cpp:138
QHash< int, int > idleTimeouts() const
Returns the list of timeout identifiers associated with their duration, in milliseconds,...
Definition kidletime.cpp:262
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.