KIdleTime
10#include "kabstractidletimepoller_p.h"
12#include <Carbon/Carbon.h>
14class MacPoller :
public KAbstractIdleTimePoller
17 Q_PLUGIN_METADATA(IID KAbstractIdleTimePoller_iid FILE
"osx.json")
18 Q_INTERFACES(KAbstractIdleTimePoller)
21 MacPoller(QObject *parent = 0);
28 static pascal
void IdleTimerAction(EventLoopTimerRef, EventLoopIdleTimerMessage inState,
void *inUserData);
31 void addTimeout(
int nextTimeout);
32 void removeTimeout(
int nextTimeout);
33 QList<int> timeouts()
const;
34 int forcePollRequest();
35 void catchIdleEvent();
36 void stopCatchingIdleEvents();
37 void simulateUserActivity();
44 QList<int> m_timeouts;
45 EventLoopTimerRef m_timerRef;
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:46:32 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.