summaryrefslogtreecommitdiff
path: root/testnotification/testnotificationprovider.h
blob: 5813a9b9c240167f513c03feb01cf4ee299afeae (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
30
31
#ifndef TESTNOTIFICATIONPROVIDER_H
#define TESTNOTIFICATIONPROVIDER_H

#include <sowatch.h>

namespace sowatch
{

class TestNotification;

class TestNotificationProvider : public NotificationProvider
{
    Q_OBJECT

public:
	explicit TestNotificationProvider(QObject *parent = 0);
	~TestNotificationProvider();

private slots:
	void generateInitialNotification();
	void generateWeatherNotification();
	void generateNotification();

private:
	static int _counter;
	QTimer *_timer;
};

}

#endif // TESTNOTIFICATIONPROVIDER_H