KUtils
kidletime.cpp
Go to the documentation of this file.
void removeAllIdleTimeouts()
Stops catching every set timeout (if any).
Definition: kidletime.cpp:155
const Key key(const T &value) const
#define K_GLOBAL_STATIC(TYPE, NAME)
const_iterator insert(const T &value)
Definition: windowspoller.h:26
iterator begin()
void timeoutReached(int identifier)
Triggered when the system has been idle for x milliseconds, identified by the previously set timeout...
QHash< int, int > idleTimeouts() const
Returns the list of timeout identifiers associated with their duration, in milliseconds, the library is currently listening to.
Definition: kidletime.cpp:262
iterator erase(iterator pos)
void removeIdleTimeout(int identifier)
Stops catching the idle timeout identified by the token identifier, if it was registered earlier with...
Definition: kidletime.cpp:138
bool contains(const T &value) const
Definition: macpoller.h:26
int idleTime() const
Retrieves the idle time of the system, in milliseconds.
Definition: kidletime.cpp:255
void reserve(int size)
iterator end()
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void resumingFromIdle()
Triggered, if KIdleTime is catching resume events, when the system resumes from an idle state...
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.