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)
r14.0.x
Emanoil Kotsev 4 years ago committed by Michele Calgaro
parent 6cf73359ac
commit 99230dfa11
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 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 see a talk request). Re-routing this to a log window sounds like a very good
idea. 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