|
|
Obtain and keep track of the local copy of a remote file.
Removes the file when it is deleted.
KRemoteFile (const char *url)
| KRemoteFile |
Fetch a remote file.
bool isOK ()
| isOK |
Was the file fetched with no errors?
~KRemoteFile ()
| ~KRemoteFile |
[virtual]
Clean up the remote file object and delete the temporary file.
bool save ()
| save |
Copy the temporary file to the remote location.
Do this when the user chooses to save the file.
const char * tempName ()
| tempName |
Retrieve the name of the local copy.
const char * url ()
| url |
Retrieve the URL it came from.