1 /* This file is part of the KDE project
2 
3    Copyright (C) 2008 - 2009 Lukas Appelhans <l.appelhans@gmx.de>
4 
5    This program is free software; you can redistribute it and/or
6    modify it under the terms of the GNU General Public
7    License as published by the Free Software Foundation; either
8    version 2 of the License, or (at your option) any later version.
9 */
10 #ifndef HANDLER_H
11 #define HANDLER_H
12 
13 #include <QObject>
14 
15 class Scheduler;
16 
17 class Handler : public QObject
18 {
19     Q_OBJECT
20     public:
21         Handler(Scheduler * scheduler, QObject * parent);
22         ~Handler() override;
23 
24         virtual void start() = 0;
25         virtual void stop() = 0;
26 
27         virtual QVariant data(int column) = 0;
28 
29     protected:
30         Scheduler * m_scheduler;
31 };
32 
33 #endif
34