ktimetracker
idletimedetector.cpp
Go to the documentation of this file.
48 if(XScreenSaverQueryExtension(QX11Info::display(), &event_base, &error_base)) _idleDetectionPossible = true;
66 kDebug(5970) << "kompiled for libxss and x11, idledetectionpossible is " << _idleDetectionPossible;
124 KWindowSystem::self()->setOnDesktop( dialog->winId(), KWindowSystem::self()->currentDesktop() );
126 kDebug(5970) << "Setting WinId " << dialog->winId() << " to deskTop " << KWindowSystem::self()->currentDesktop();
bool isIdleDetectionPossible()
Returns true if it is possible to do idle detection.
Definition: idletimedetector.cpp:57
void subtractTime(int minutes)
Tells the listener to subtract time from current timing.
Qt::HANDLE appRootWindow(int screen)
Display * display()
QTime time() const
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
void toggleOverAllIdleDetection(bool on)
Sets whether idle detection should be done at all.
Definition: idletimedetector.cpp:147
void stop()
QDateTime currentDateTime()
int secsTo(const QDateTime &other) const
void start(int msec)
QDateTime addSecs(int s) const
bool isActive() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void addLayout(QLayout *layout, int stretch)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:34 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:31:34 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.