summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmanoil Kotsev <deloptes@gmail.com>2021-06-05 08:24:53 +0200
committerMichele Calgaro <michele.calgaro@yahoo.it>2021-06-06 17:55:05 +0900
commitf23ac74e05b50cd096323aa3c809a62cf373faa0 (patch)
treed4c21ae468631082aef60050ecbded145b1054bd
parent829382ed372e4a5a38ddffbc112b3cd5a7f9f4c9 (diff)
downloadtdelibs-f23ac74e05b50cd096323aa3c809a62cf373faa0.tar.gz
tdelibs-f23ac74e05b50cd096323aa3c809a62cf373faa0.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>
-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