mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-24 10:52:53 +00:00
33 lines
766 B
C++
33 lines
766 B
C++
/* This file is part of the KDE project
|
|
|
|
Copyright (C) 2008 - 2009 Lukas Appelhans <l.appelhans@gmx.de>
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU General Public
|
|
License as published by the Free Software Foundation; either
|
|
version 2 of the License, or (at your option) any later version.
|
|
*/
|
|
#ifndef HANDLER_H
|
|
#define HANDLER_H
|
|
|
|
#include <QObject>
|
|
|
|
class Scheduler;
|
|
|
|
class Handler : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
Handler(Scheduler * scheduler, QObject * parent);
|
|
virtual ~Handler();
|
|
|
|
virtual void start() = 0;
|
|
virtual void stop() = 0;
|
|
|
|
virtual QVariant data(int column) = 0;
|
|
|
|
protected:
|
|
Scheduler * m_scheduler;
|
|
};
|
|
|
|
#endif
|