Hello All,
I am trying to read a file using a declared reader in my Qt program. I'd like to know how do I reset the reader to the top of the file after I have read the contents of the file, say half way..
Thanks,
Uchenna
Hello All,
I am trying to read a file using a declared reader in my Qt program. I'd like to know how do I reset the reader to the top of the file after I have read the contents of the file, say half way..
Thanks,
Uchenna
What is a "declared reader"? I suppose you can use for example QIODevice::reset() or QTextStream::seek() depending on which classes you're actually using.
PS. In the future, please remember that we don't know the components you've written. A "declared reader" might be a clear concept to you but not necessarily to us. Therefore it's always important to give enough background information like which Qt classes you're using and preferably how.
J-P Nurmi
Bookmarks