1/*
2 * SPDX-FileCopyrightText: 2009 Dario Freddi <drf@kde.org>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef KIDLETEST_H
8#define KIDLETEST_H
9
10#include <QObject>
11
12class KIdleTest : public QObject
13{
14 Q_OBJECT
15
16public:
17 KIdleTest();
18 ~KIdleTest() override;
19
20public Q_SLOTS:
21 void timeoutReached(int id, int timeout);
22 void resumeEvent();
23};
24
25#endif /* KIDLETEST_H */
26

source code of kidletime/examples/KIdleTest.h