diff options
Diffstat (limited to 'ckitcallnotification/ckitcallnotification.h')
-rw-r--r-- | ckitcallnotification/ckitcallnotification.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/ckitcallnotification/ckitcallnotification.h b/ckitcallnotification/ckitcallnotification.h new file mode 100644 index 0000000..10453be --- /dev/null +++ b/ckitcallnotification/ckitcallnotification.h @@ -0,0 +1,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 |