From f23ac74e05b50cd096323aa3c809a62cf373faa0 Mon Sep 17 00:00:00 2001 From: Emanoil Kotsev Date: Sat, 5 Jun 2021 08:24:53 +0200 Subject: [PATCH] Update knotify README with command line example. Signed-off-by: Emanoil Kotsev Signed-off-by: Michele Calgaro --- arts/knotify/README | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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