These are the Publish and Subscribe examples.
Accessing Publish and Subscribe from QML
Publish and Subscribe Example