KUtils
kidletime.cpp
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
Definition macpoller.h:27
Definition windowspoller.h:27
#define K_GLOBAL_STATIC(TYPE, NAME)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Jul 20 2023 00:00:00 by doxygen 1.9.8 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Jul 20 2023 00:00:00 by doxygen 1.9.8 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.