renamed read_... functions to read and write_... to write
Now use: read(QIODevice), readFromStream(*Stream), write(QIODevice), writeToStream(*stream)