summaryrefslogtreecommitdiff
path: root/libsowatch/testwatchlet.h
blob: caa68dac4240c7921b439ebac0fcb38c7f7578bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef TESTWATCHLET_H
#define TESTWATCHLET_H

#include <QtCore/QTimer>
#include "watchlet.h"

namespace sowatch
{

class TestWatchlet : public Watchlet
{
    Q_OBJECT
public:
	explicit TestWatchlet(WatchServer* server);

protected slots:
	void interv();
	void handleActivated();
	void handleDeactivated();

private:
	QTimer *_timer;
	int _y;

};

}

#endif // TESTWATCHLET_H