summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmanoil Kotsev <deloptes@gmail.com>2021-06-05 08:24:53 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-06-07 14:48:46 +0200
commit9394e9d7c5d6c336a0af15e6d9bb6117413872f6 (patch)
treeb19c0cc0487c1a90f33dcf7941dc48aaa4973067
parent7caed5312cef3eeb3884445e41771925f7995de9 (diff)
downloadtdelibs-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/README14
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