In fact, I don't really manage what I do with downloading files but first I wanted to make some test.
I put code in Window::Window() but in fact I want to put the code in a slot of Window (wich derivate from QWidget), then from a custom QThread, I will emit 9 signals, spread on 9 minutes. Each emitted signal will make Window to download a rss file (here "http://rss.lemonde.fr/c/205/f/3050/index.rss" is the first file) and the content of each rss file will be added to a unique local xml file with QDomDocument functions.
If someone could help me with the download part, it would be great.
Still I don't understand why the QNetworkReply doesnot store anymore any data, why a readAll() makes it empty ? Is it a concept?
Bookmarks