Update knotify README with command line example.

Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/136/head
Emanoil Kotsev 4 years ago committed by Michele Calgaro
parent 829382ed37
commit f23ac74e05
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -31,3 +31,17 @@ example, while the screen is locked, it is very likely that the user is not
present. Thus, he will not be able to hear a "You have mail" sound (or to
see a talk request). Re-routing this to a log window sounds like a very good
idea.
Notes:
------
KNotify can be accessed directly using one of the available methods.
- void notify(TQString event, TQString fromApp, TQString text, TQString sound,
TQString file, int present, int level)
- void notify(TQString event, TQString fromApp, TQString text, TQString sound,
TQString file, int present, int level, int winId)
- void notify(TQString event, TQString fromApp, TQString text, TQString sound,
TQString file, int present, int level, int winId, int eventId)
For example:
dcop knotify Notify notify event "Msg from MyApp" "Hello World!" "" "" 16 0

Loading…
Cancel
Save