certmanager
KIOext Namespace Reference
Classes | |
class | StoredTransferJob |
StoredTransferJob is a TransferJob (for downloading or uploading data) that also stores a QByteArray with the data, making it simpler to use than the standard TransferJob. More... | |
Functions | |
StoredTransferJob * | storedGet (const KURL &url, bool reload=false, bool showProgressInfo=true) |
StoredTransferJob * | put (const QByteArray &arr, const KURL &url, int permissions, bool overwrite, bool resume, bool showProgressInfo=true) |
Function Documentation
StoredTransferJob * KIOext::put | ( | const QByteArray & | arr, | |
const KURL & | url, | |||
int | permissions, | |||
bool | overwrite, | |||
bool | resume, | |||
bool | showProgressInfo = true | |||
) |
Put (a.k.a.
write) data from a single QByteArray.
- See also:
- StoredTransferJob
- Parameters:
-
url Where to write data. permissions May be -1. In this case no special permission mode is set. overwrite If true, any existing file will be overwritten. resume true to resume, false otherwise showProgressInfo true to show progress information
- Returns:
- the job handling the operation.
- See also:
- multi_get()
Definition at line 89 of file storedtransferjob.cpp.
StoredTransferJob * KIOext::storedGet | ( | const KURL & | url, | |
bool | reload = false , |
|||
bool | showProgressInfo = true | |||
) |
Get (a.k.a.
read), into a single QByteArray.
- See also:
- StoredTransferJob
- Parameters:
-
url the URL of the file reload true to reload the file, false if it can be taken from the cache showProgressInfo true to show progress information
- Returns:
- the job handling the operation.
Definition at line 79 of file storedtransferjob.cpp.