Example1.14: src/qtstream/files/qdemo.cpp