diff options
author | Emanoil Kotsev <deloptes@gmail.com> | 2021-06-05 08:24:53 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-06-07 14:48:46 +0200 |
commit | 9394e9d7c5d6c336a0af15e6d9bb6117413872f6 (patch) | |
tree | b19c0cc0487c1a90f33dcf7941dc48aaa4973067 | |
parent | 7caed5312cef3eeb3884445e41771925f7995de9 (diff) | |
download | tdelibs-9394e9d7c5d6c336a0af15e6d9bb6117413872f6.tar.gz tdelibs-9394e9d7c5d6c336a0af15e6d9bb6117413872f6.zip |
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 f23ac74e05b50cd096323aa3c809a62cf373faa0)
-rw-r--r-- | arts/knotify/README | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arts/knotify/README b/arts/knotify/README index 3257cdc33..676dcc25e 100644 --- a/arts/knotify/README +++ b/arts/knotify/README @@ -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 |