1. Operator >> reads word not line.
2. Use QTextStream::readline.