• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

Engines

NotificationsEngine Class Reference

Engine which provides data sources for notifications. More...

#include <notificationsengine.h>

Inheritance diagram for NotificationsEngine:

Inheritance graph
[legend]

List of all members.


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:
  • notificationsengine.h
  • notificationsengine.cpp

Engines

Skip menu "Engines"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • KWin
  •   KWin Libraries
  • Libraries
  •   libkworkspace
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal