summaryrefslogtreecommitdiff
path: root/ckitcallnotification/ckitcallnotification.h
blob: 10453be20d686c2cf53feedb06d88faa50ecfbef (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
35
36
37
38
39
40
#ifndef CKITCALLNOTIFICATION_H
#define CKITCALLNOTIFICATION_H

#include <sowatch.h>

namespace sowatch
{

class CKitCallProvider;

class CKitCallNotification : public Notification
{
    Q_OBJECT
public:
	explicit CKitCallNotification(const QString& displayName, QObject *parent = 0);

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

	void activate();
	void clear();

signals:
	void changed();
	void cleared();

protected:
	QDateTime _dateTime;
	QString _displayName;
	void changeDisplayName(const QString& displayName);

	friend class CKitCallProvider;
};

}

#endif // CKITCALLNOTIFICATION_H