KNotify
#include <notifybysound.h>
Public Member Functions | |
NotifyBySound (QObject *parent=0l) | |
virtual | ~NotifyBySound () |
virtual void | close (int id) |
virtual void | notify (int id, KNotifyConfig *config) |
virtual QString | optionName () |
void | setVolume (int v) |
Public Member Functions inherited from KNotifyPlugin | |
KNotifyPlugin (QObject *parent=0l, const QVariantList &args=QVariantList()) | |
virtual | ~KNotifyPlugin () |
virtual void | update (int id, KNotifyConfig *config) |
Protected Member Functions | |
void | timerEvent (QTimerEvent *) |
Protected Member Functions inherited from KNotifyPlugin | |
void | finish (int id) |
Additional Inherited Members | |
Signals inherited from KNotifyPlugin | |
void | actionInvoked (int id, int action) |
void | finished (int id) |
Detailed Description
Definition at line 29 of file notifybysound.h.
Constructor & Destructor Documentation
NotifyBySound::NotifyBySound | ( | QObject * | parent = 0l | ) |
Definition at line 149 of file notifybysound.cpp.
|
virtual |
Definition at line 158 of file notifybysound.cpp.
Member Function Documentation
|
virtual |
This function is called when the notification has been closed.
Reimplemented from KNotifyPlugin.
Definition at line 299 of file notifybysound.cpp.
|
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 197 of file notifybysound.cpp.
|
inlinevirtual |
return the name of this plugin.
this is the name that should appear in the .knotifyrc file, in the field Action=... if a notification is set to use this plugin
Implements KNotifyPlugin.
Definition at line 35 of file notifybysound.h.
void NotifyBySound::setVolume | ( | int | v | ) |
Definition at line 262 of file notifybysound.cpp.
|
protected |
Definition at line 271 of file notifybysound.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:02:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.