KNotify
NotifyByPopup Class Reference
#include <notifybypopup.h>

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] |
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: