8#include "kabstractidletimepoller_p.h"
18class Poller :
public KAbstractIdleTimePoller
21 Q_PLUGIN_METADATA(IID KAbstractIdleTimePoller_iid FILE
"wayland.json")
22 Q_INTERFACES(KAbstractIdleTimePoller)
25 explicit Poller(
QObject *parent =
nullptr);
28 bool isAvailable()
override;
29 bool setUpPoller()
override {
32 void unloadPoller()
override {}
35 void addTimeout(
int nextTimeout)
override;
36 void removeTimeout(
int nextTimeout)
override;
38 int forcePollRequest()
override;
39 void catchIdleEvent()
override;
40 void stopCatchingIdleEvents()
override;
41 void simulateUserActivity()
override;
45 IdleTimeout* createTimeout(
int timeout);
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:10:22 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.