How can I change the QFile specified with QTextStream
I am having a code as
I am reading from a file and writing to another.
The new file generated will have only certain number of lines(say 1000), then I need to create new file and continue writing.
Should I have to define QTextStream out(qfpIndex); each time?
void QTextStream::setDevice(QIODevice * device)