I have a bash script that watches for changes in images and then plays an alert sound that I wrote a while back. After some fiddling I decided to use dcop to play the notification instead of ogg123 or sox or the like because it seemed to be much faster and more reliable. Now that I've moved to kde4 I'm finding dbus to be an enigma.

Via dcop the line went something like this:
Code:
dcop knotify default notify motion motion "Motion" "/usr/share/sounds/motion.wav" "/tmp/motion.log" 1 0
I can't make heads or tails of dbus. The closest I've gotten is something like this:
Code:
qdbus org.kde.knotify /Notify org.kde.KNotify.event
But that is obviously not complete and even fails at such a basic level.

Code:
Error: org.freedesktop.DBus.Error.UnknownMethod
No such method 'event' in interface 'org.kde.KNotify' at object path '/Notify' (signature '')
What am I doing wrong? I assume that I should be using a method instead of a signal but this is way over my head as qdbusviewer shows org.kde.KNotify.event as a method.