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

KNotify

NotifyBySound Class Reference

#include <notifybysound.h>

Inheritance diagram for NotifyBySound:

Inheritance graph
[legend]

List of all members.


Public Member Functions

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

Protected Member Functions

void timerEvent (QTimerEvent *)

Detailed Description

Definition at line 29 of file notifybysound.h.


Constructor & Destructor Documentation

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

Definition at line 150 of file notifybysound.cpp.

NotifyBySound::~NotifyBySound (  )  [virtual]

Definition at line 159 of file notifybysound.cpp.


Member Function Documentation

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

This function is called when the notification has been closed.

Reimplemented from KNotifyPlugin.

Definition at line 294 of file notifybysound.cpp.

void NotifyBySound::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 198 of file notifybysound.cpp.

virtual QString NotifyBySound::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 35 of file notifybysound.h.

void NotifyBySound::setVolume ( int  v  ) 

Definition at line 257 of file notifybysound.cpp.

void NotifyBySound::timerEvent ( QTimerEvent *  e  )  [protected]

Reimplemented from QObject.

Definition at line 266 of file notifybysound.cpp.


The documentation for this class was generated from the following files:
  • notifybysound.h
  • notifybysound.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