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

Signals | |
| void | ActionInvoked (uint id, const QString &actionKey) |
| void | NotificationClosed (uint id, uint reason) |
Public Member Functions | |
| NotificationsEngine (QObject *parent, const QVariantList &args) | |
| ~NotificationsEngine () | |
| void | CloseNotification (uint id) |
| QStringList | GetCapabilities () |
| QString | GetServerInformation (QString &vendor, QString &version, QString &specVersion) |
| virtual void | init () |
| uint | Notify (const QString &app_name, uint replaces_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) |
Protected Member Functions | |
| void | timerEvent (QTimerEvent *event) |
Detailed Description
Engine which provides data sources for notifications.
Each notification is represented by one source.
Definition at line 32 of file notificationsengine.h.
Constructor & Destructor Documentation
| NotificationsEngine::NotificationsEngine | ( | QObject * | parent, | |
| const QVariantList & | args | |||
| ) |
Definition at line 31 of file notificationsengine.cpp.
| NotificationsEngine::~NotificationsEngine | ( | ) |
Definition at line 45 of file notificationsengine.cpp.
Member Function Documentation
| void NotificationsEngine::ActionInvoked | ( | uint | id, | |
| const QString & | actionKey | |||
| ) | [signal] |
| void NotificationsEngine::CloseNotification | ( | uint | id | ) |
Definition at line 224 of file notificationsengine.cpp.
| QStringList NotificationsEngine::GetCapabilities | ( | ) |
Definition at line 235 of file notificationsengine.cpp.
| QString NotificationsEngine::GetServerInformation | ( | QString & | vendor, | |
| QString & | version, | |||
| QString & | specVersion | |||
| ) |
Definition at line 247 of file notificationsengine.cpp.
| void NotificationsEngine::init | ( | ) | [virtual] |
Definition at line 51 of file notificationsengine.cpp.
| void NotificationsEngine::NotificationClosed | ( | uint | id, | |
| uint | reason | |||
| ) | [signal] |
| uint NotificationsEngine::Notify | ( | const QString & | app_name, | |
| uint | replaces_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 138 of file notificationsengine.cpp.
| Plasma::Service * NotificationsEngine::serviceForSource | ( | const QString & | source | ) |
Definition at line 230 of file notificationsengine.cpp.
| void NotificationsEngine::timerEvent | ( | QTimerEvent * | event | ) | [protected] |
Definition at line 211 of file notificationsengine.cpp.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference