class KRemoteFile

Obtain and keep track of the local copy of a remote file. More...

Definition#include <kremotefile.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

Obtain and keep track of the local copy of a remote file.

Removes the file when it is deleted.

 KRemoteFile (const char *url)

Fetch a remote file.

bool  isOK ()

Was the file fetched with no errors?

KRemoteFile ()

[virtual]

Clean up the remote file object and delete the temporary file.

bool  save ()

Copy the temporary file to the remote location.

Do this when the user chooses to save the file.

const char * tempName ()

Retrieve the name of the local copy.

const char * url ()

Retrieve the URL it came from.