summaryrefslogtreecommitdiff
path: root/libsowatch/testwatchlet.h
blob: 65567240093676ad31fcb0e030a02e7dc365ed3d (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 SOWATCH_TESTWATCHLET_H
#define SOWATCH_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 // SOWATCH_TESTWATCHLET_H