KNotify
NotifyBySound Class Reference
#include <notifybysound.h>

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] |
The documentation for this class was generated from the following files:
KDE 4.2 API Reference