Plasma
NotificationsEngine Class Reference
Engine which provides data sources for notifications. More...
#include <notificationsengine.h>
Inheritance diagram for NotificationsEngine:

Signals | |
void | ActionInvoked (uint id, const QString &actionKey) |
void | NotificationClosed (uint id, uint reason) |
Public Member Functions | |
void | CloseNotification (uint id) |
virtual void | init () |
NotificationsEngine (QObject *parent, const QVariantList &args) | |
uint | Notify (const QString &app_name, uint replaces_id, const QString &event_id, const QString &app_icon, const QString &summary, const QString &body, const QStringList &actions, const QVariantMap &hints, int timeout) |
Plasma::Service * | serviceForSource (const QString &source) |
~NotificationsEngine () |
Detailed Description
Engine which provides data sources for notifications.Each notification is represented by one source.
Definition at line 33 of file notificationsengine.h.
Constructor & Destructor Documentation
NotificationsEngine::NotificationsEngine | ( | QObject * | parent, | |
const QVariantList & | args | |||
) |
Definition at line 26 of file notificationsengine.cpp.
NotificationsEngine::~NotificationsEngine | ( | ) |
Definition at line 40 of file notificationsengine.cpp.
Member Function Documentation
void NotificationsEngine::ActionInvoked | ( | uint | id, | |
const QString & | actionKey | |||
) | [signal] |
void NotificationsEngine::CloseNotification | ( | uint | id | ) |
Definition at line 88 of file notificationsengine.cpp.
void NotificationsEngine::init | ( | ) | [virtual] |
Definition at line 46 of file notificationsengine.cpp.
void NotificationsEngine::NotificationClosed | ( | uint | id, | |
uint | reason | |||
) | [signal] |
uint NotificationsEngine::Notify | ( | const QString & | app_name, | |
uint | replaces_id, | |||
const QString & | event_id, | |||
const QString & | app_icon, | |||
const QString & | summary, | |||
const QString & | body, | |||
const QStringList & | actions, | |||
const QVariantMap & | hints, | |||
int | timeout | |||
) |
This function implements part of Notifications DBus interface.
Once called, will add notification source to the engine
Definition at line 50 of file notificationsengine.cpp.
Plasma::Service * NotificationsEngine::serviceForSource | ( | const QString & | source | ) |
Definition at line 94 of file notificationsengine.cpp.
The documentation for this class was generated from the following files: