KNotify
NotifyByLogfile Class Reference
#include <notifybylogfile.h>
Inheritance diagram for NotifyByLogfile:

Public Member Functions | |
| virtual void | notify (int id, KNotifyConfig *config) |
| NotifyByLogfile (QObject *parent=0l) | |
| virtual QString | optionName () |
| virtual | ~NotifyByLogfile () |
Detailed Description
Definition at line 29 of file notifybylogfile.h.
Constructor & Destructor Documentation
| NotifyByLogfile::NotifyByLogfile | ( | QObject * | parent = 0l |
) |
Definition at line 31 of file notifybylogfile.cpp.
| NotifyByLogfile::~NotifyByLogfile | ( | ) | [virtual] |
Definition at line 36 of file notifybylogfile.cpp.
Member Function Documentation
| void NotifyByLogfile::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 42 of file notifybylogfile.cpp.
| virtual QString NotifyByLogfile::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 notifybylogfile.h.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference