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

KNotify

NotifyByPopup Class Reference

#include <notifybypopup.h>

Inheritance diagram for NotifyByPopup:

Inheritance graph
[legend]

List of all members.


Public Member Functions

virtual void close (int id)
virtual void notify (int id, KNotifyConfig *config)
 NotifyByPopup (QObject *parent=0l)
virtual QString optionName ()
virtual void update (int id, KNotifyConfig *config)
virtual ~NotifyByPopup ()

Protected Member Functions

void timerEvent (QTimerEvent *event)

Detailed Description

Definition at line 31 of file notifybypopup.h.


Constructor & Destructor Documentation

NotifyByPopup::NotifyByPopup ( QObject *  parent = 0l  ) 

Definition at line 43 of file notifybypopup.cpp.

NotifyByPopup::~NotifyByPopup (  )  [virtual]

Definition at line 62 of file notifybypopup.cpp.


Member Function Documentation

void NotifyByPopup::close ( int  id  )  [virtual]

This function is called when the notification has been closed.

Reimplemented from KNotifyPlugin.

Definition at line 166 of file notifybypopup.cpp.

void NotifyByPopup::notify ( int  id,
KNotifyConfig *  config 
) [virtual]

This function is called when the notification is sent.

(or re-sent) You should implement this function to display a notification

for each call to this function (even for re-notification), you MUST call finish(int)

Parameters:
id is the notification id
config is the configuration of the notification

Implements KNotifyPlugin.

Definition at line 68 of file notifybypopup.cpp.

virtual QString NotifyByPopup::optionName (  )  [inline, virtual]

return the name of this plugin.

this is the name that should appears in the .knotifyrc file, in the field Action=... if a notification

Implements KNotifyPlugin.

Definition at line 37 of file notifybypopup.h.

void NotifyByPopup::timerEvent ( QTimerEvent *  event  )  [protected]

Reimplemented from QObject.

Definition at line 125 of file notifybypopup.cpp.

void NotifyByPopup::update ( int  ,
KNotifyConfig *   
) [virtual]

This function is called when the notification has changed (such as the text or the icon).

Reimplemented from KNotifyPlugin.

Definition at line 180 of file notifybypopup.cpp.


The documentation for this class was generated from the following files:
  • notifybypopup.h
  • notifybypopup.cpp

KNotify

Skip menu "KNotify"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • KCMShell
  • KNotify
  • KStyles
  • Nepomuk Daemons
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