summaryrefslogtreecommitdiff
path: root/ckitcallnotification/ckitcallnotification.h
blob: bd65e638ccf384fa0c6f433ad80903f648e0b51e (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
#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 dismiss();

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

	friend class CKitCallProvider;
};

}

#endif // CKITCALLNOTIFICATION_H