How can I change the QFile specified with QTextStream
-
I am having a code as
@QTextStream out(qfpIndex);@
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?
-
maybe
@
void QTextStream::setDevice(QIODevice * device)
@