I am implementing an embedded browser using QWebView in a program, and I am trying to handle the downloading of files. I have everything set up, the files are being downloaded and everything is working as I want it. The only thing I can't figure out is how to find out the filename of the data being downloaded. The filename is generated (almost always) by the servers dynamically when you click on a button or icon. I am getting the data fine in a QNetworkReply, by hooking up to it's finished() signal.
How do you get the filename the data was sent with? Must you use QNetworkReply, QNetworkRequest or QNetworkManager? I've been debugging just about every attribute of all three classes and I can't find the filename.
TIA,
Valheru.
Bookmarks