diff options
author | Emanoil Kotsev <[email protected]> | 2021-06-05 08:24:53 +0200 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2021-06-06 20:46:54 +0900 |
commit | 99230dfa11c426f95aa9195eb19270d644c2277d (patch) | |
tree | ae14b850c5d87debbed1b474246967c279c0a74b /arts/knotify | |
parent | 6cf73359ac56fca698986f8bb19c188a2710f666 (diff) | |
download | tdelibs-99230dfa11c426f95aa9195eb19270d644c2277d.tar.gz tdelibs-99230dfa11c426f95aa9195eb19270d644c2277d.zip |
Update knotify README with command line example.
Signed-off-by: Emanoil Kotsev <[email protected]>
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit f23ac74e05b50cd096323aa3c809a62cf373faa0)
Diffstat (limited to 'arts/knotify')
-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 |