summaryrefslogtreecommitdiff
path: root/testnotification/testnotification.h
blob: f54623da83b2c35ee97e03f9eaff3dd9414b5b46 (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
32
33
34
#ifndef TESTNOTIFICATION_H
#define TESTNOTIFICATION_H

#include <sowatch.h>

namespace sowatch
{

class TestNotification : public Notification
{
	Q_OBJECT

public:
	explicit TestNotification(Type type, const QString& title, const QString& body, QObject *parent = 0);

	Type type() const;
	uint count() const;
	QDateTime dateTime() const;
	QString title() const;
	QString body() const;

	void activate();
	void dismiss();

private:
	Type _type;
	QDateTime _time;
	QString _title;
	QString _body;
};

}

#endif // TESTNOTIFICATION_H