I wrote a completion function for qdbus (a command line tool for communicating with dbus-enabled programs, like kmix, krusader, pulseaudio…) which I want to share in the hope that it will be useful.