Chat sketch.

Qt code sample.