Update knotify README with command line example.

Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit f23ac74e05)
v3.5.13-sru
Emanoil Kotsev 4 years ago committed by Slávek Banko
parent 7caed5312c
commit 9394e9d7c5
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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