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

Plasma

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

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

Plasma

Skip menu "Plasma"
  • 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
  • System Settings
  •   SystemSettingsView
Generated for API Reference by doxygen 1.5.9-20090814
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