# Namespace KIO

Module | kio
Namespace | KIO

### classes

KIO.AuthInfo | KIO.ForwardingSlaveBase | KIO.RenameDialogPlugin
KIO::NetRC.AutoLogin | KIO.Job | KIO.Scheduler
KIO.ChmodJob | KIO.JobUiDelegate | KIO.SessionData
KIO.Connection | KIO.ListJob | KIO.SimpleJob
KIO.ConnectionServer | KIO.MetaData | KIO.SkipDialog
KIO.CopyInfo | KIO.MetaInfoJob | KIO.Slave
KIO.CopyJob | KIO.MimetypeJob | KIO.SlaveBase
KIO.DavJob | KIO.MultiGetJob | KIO.SlaveConfig
KIO.DeleteJob | KIO.NetAccess | KIO.SlaveInterface
KIO.DirectorySizeJob | KIO.NetRC | KIO.SpecialJob
KIO.FileCopyJob | KIO.PasswordDialog | KIO.StatJob
KIO::RenameDialogPlugin.FileItem | KIO.PreviewJob | KIO.StoredTransferJob
KIO.FileJob | KIO.RenameDialog | KIO.TCPSlaveBase

### enums

- CacheControl { CC_CacheOnly, CC_Cache, CC_Verify, CC_Refresh, CC_Reload }
- Command { CMD_HOST, CMD_CONNECT, CMD_DISCONNECT, CMD_SLAVE_STATUS, CMD_SLAVE_CONNECT, CMD_SLAVE_HOLD, CMD_NONE, CMD_TESTDIR, CMD_GET, CMD_PUT, CMD_STAT, CMD_MIMETYPE, CMD_LISTDIR, CMD_MKDIR, CMD_RENAME, CMD_COPY, CMD_DEL, CMD_CHMOD, CMD_SPECIAL, CMD_SETMODIFICATIONTIME, CMD_REPARSECONFIGURATION, CMD_META_DATA, CMD_SYMLINK, CMD_SUBURL, CMD_MESSAGEBOXANSWER, CMD_RESUMEANSWER, CMD_CONFIG, CMD_MULTI_GET, CMD_SETLINKDEST, CMD_OPEN, CMD_CHOWN, CMD_READ, CMD_WRITE, CMD_SEEK, CMD_CLOSE }
- Error { ERR_CANNOT_OPEN_FOR_READING, ERR_CANNOT_OPEN_FOR_WRITING, ERR_CANNOT_LAUNCH_PROCESS, ERR_INTERNAL, ERR_MALFORMED_URL, ERR_UNSUPPORTED_PROTOCOL, ERR_NO_SOURCE_PROTOCOL, ERR_UNSUPPORTED_ACTION, ERR_IS_DIRECTORY, ERR_IS_FILE, ERR_DOES_NOT_EXIST, ERR_FILE_ALREADY_EXIST, ERR_DIR_ALREADY_EXIST, ERR_UNKNOWN_HOST, ERR_ACCESS_DENIED, ERR_WRITE_ACCESS_DENIED, ERR_CANNOT_ENTER_DIRECTORY, ERR_PROTOCOL_IS_NOT_A_FILESYSTEM, ERR_CYCLIC_LINK, ERR_USER_CANCELED, ERR_CYCLIC_COPY, ERR_COULD_NOT_CREATE_SOCKET, ERR_COULD_NOT_CONNECT, ERR_CONNECTION_BROKEN, ERR_NOT_FILTER_PROTOCOL, ERR_COULD_NOT_MOUNT, ERR_COULD_NOT_UNMOUNT, ERR_COULD_NOT_READ, ERR_COULD_NOT_WRITE, ERR_COULD_NOT_BIND, ERR_COULD_NOT_LISTEN, ERR_COULD_NOT_ACCEPT, ERR_COULD_NOT_LOGIN, ERR_COULD_NOT_STAT, ERR_COULD_NOT_CLOSEDIR, ERR_COULD_NOT_MKDIR, ERR_COULD_NOT_RMDIR, ERR_CANNOT_RESUME, ERR_CANNOT_RENAME, ERR_CANNOT_CHMOD, ERR_CANNOT_DELETE, ERR_SLAVE_DIED, ERR_OUT_OF_MEMORY, ERR_UNKNOWN_PROXY_HOST, ERR_COULD_NOT_AUTHENTICATE, ERR_ABORTED, ERR_INTERNAL_SERVER, ERR_SERVER_TIMEOUT, ERR_SERVICE_NOT_AVAILABLE, ERR_UNKNOWN, ERR_UNKNOWN_INTERRUPT, ERR_CANNOT_DELETE_ORIGINAL, ERR_CANNOT_DELETE_PARTIAL, ERR_CANNOT_RENAME_ORIGINAL, ERR_CANNOT_RENAME_PARTIAL, ERR_NEED_PASSWD, ERR_CANNOT_SYMLINK, ERR_NO_CONTENT, ERR_DISK_FULL, ERR_IDENTICAL_FILES, ERR_SLAVE_DEFINED, ERR_UPGRADE_REQUIRED, ERR_POST_DENIED, ERR_COULD_NOT_SEEK, ERR_CANNOT_SETTIME, ERR_CANNOT_CHOWN }
- Info { INF_TOTAL_SIZE, INF_PROCESSED_SIZE, INF_SPEED, INF_REDIRECTION, INF_MIME_TYPE, INF_ERROR_PAGE, INF_WARNING, INF_GETTING_FILE, INF_UNUSED, INF_INFOMESSAGE, INF_META_DATA, INF_NETWORK_STATUS, INF_MESSAGEBOX, INF_POSITION }
- JobFlag { DefaultFlags, HideProgressInfo, Resume, Overwrite }
- LoadType { Reload, NoReload }
- Message { MSG_DATA, MSG_DATA_REQ, MSG_ERROR, MSG_CONNECTED, MSG_FINISHED, MSG_STAT_ENTRY, MSG_LIST_ENTRIES, MSG_RENAMED, MSG_RESUME, MSG_SLAVE_STATUS, MSG_SLAVE_ACK, MSG_NET_REQUEST, MSG_NET_DROP, MSG_NEED_SUBURL_DATA, MSG_CANRESUME, MSG_AUTH_KEY, MSG_DEL_AUTH_KEY, MSG_OPENED, MSG_WRITTEN }
- RenameDialog_Mode { M_OVERWRITE, M_OVERWRITE_ITSELF, M_SKIP, M_SINGLE, M_MULTI, M_RESUME, M_NORENAME }
- RenameDialog_Result { R_RESUME, R_RESUME_ALL, R_OVERWRITE, R_OVERWRITE_ALL, R_SKIP, R_AUTO_SKIP, R_RENAME, R_CANCEL }
- SkipDialog_Result { S_SKIP, S_AUTO_SKIP, S_CANCEL }

enum details

### methods

- buildErrorString (errorCode, errorText)

  returns QString

  Argument | Type | Default
  --- | --- | ---
  errorCode | int |
  errorText | QString |

  Returns a translated error message for errorCode using the additional error information provided by errorText.

  errorCode - the error code

  errorText - the additional error text Returns the created error string

- buildHTMLErrorString (errorCode, errorText, reqUrl, method)

  returns QString
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  errorCode | int |
  errorText | QString |
  reqUrl | KUrl | 0
  method | int | -1

  Returns a translated html error message for errorCode using the additional error information provided by errorText , reqUrl (the request URL), and the ioslave method .

  errorCode - the error code

  errorText - the additional error text

  reqUrl - the request URL

  method - the ioslave method Returns the created error string

- calculateRemaining (totalSize, processedSize, speed)

  returns QTime

  Argument | Type | Default
  --- | --- | ---
  totalSize | KIO.filesize_t |
  processedSize | KIO.filesize_t |
  speed | KIO.filesize_t |

  Calculates remaining time from total size, processed size and speed. Warning: As QTime is limited to 23:59:59, use calculateRemainingSeconds() instead

  - totalSize total size in bytes

  - processedSize processed size in bytes

  - speed speed in bytes per second Returns calculated remaining time

- calculateRemainingSeconds (totalSize, processedSize, speed)

  returns unsigned int

  Argument | Type | Default
  --- | --- | ---
  totalSize | KIO.filesize_t |
  processedSize | KIO.filesize_t |
  speed | KIO.filesize_t |

  Calculates remaining time in seconds from total size, processed size and speed.

  - totalSize total size in bytes

  - processedSize processed size in bytes

  - speed speed in bytes per second Returns calculated remaining time in seconds

- chmod (lstItems, permissions, mask, newOwner, newGroup, recursive, flags)

  returns KIO.ChmodJob

  Argument | Type | Default
  --- | --- | ---
  lstItems | KFileItemList |
  permissions | int |
  mask | int |
  newOwner | QString |
  newGroup | QString |
  recursive | bool |
  flags | KIO.JobFlags | KIO.DefaultFlags

- chmod (url, permissions)

  returns KIO.SimpleJob

  Argument | Type | Default
  --- | --- | ---
  url | KUrl |
  permissions | int |

  Changes permissions on a file or directory. See the other chmod below for changing many files or directories.

  url - The URL of file or directory.

  permissions - The permissions to set. Returns the job handling the operation.

- chown (url, owner, group)

  returns KIO.SimpleJob

  Argument | Type | Default
  --- | --- | ---
  url | KUrl |
  owner | QString |
  group | QString |

  Changes ownership and group of a file or directory.

  url - The URL of file or directory.

  owner - the new owner

  group - the new group Returns the job handling the operation.

- convertSeconds (seconds)

  returns QString

  Argument | Type | Default
  --- | --- | ---
  seconds | unsigned int |

  Convert seconds to a string representing number of days, hours, minutes and seconds

  - seconds number of seconds to convert Returns string representation in a locale depending format

- convertSize (size)

  returns QString

  Argument | Type | Default
  --- | --- | ---
  size | KIO.filesize_t |

  Converts size from bytes to the string representation.

  - size size in bytes Returns converted size as a string - e.g. 123.4 KiB , 12.0 MiB

- convertSizeFromKiB (kibSize)

  returns QString

  Argument | Type | Default
  --- | --- | ---
  kibSize | KIO.filesize_t |

  Converts size from kibi-bytes (2^10) to the string representation.

  - kibSize size in kibi-bytes (2^10) Returns converted size as a string - e.g. 123.4 KiB , 12.0 MiB

- copy (src, dest, flags)

  returns KIO.CopyJob

  Argument | Type | Default
  --- | --- | ---
  src | KUrl |
  dest | KUrl |
  flags | KIO.JobFlags | KIO.DefaultFlags

- copy (src, dest, flags)

  returns KIO.CopyJob

  Argument | Type | Default
  --- | --- | ---
  src | KUrl.List |
  dest | KUrl |
  flags | KIO.JobFlags | KIO.DefaultFlags

  Copy a list of file/dirs src into a destination directory dest.

  src - the list of files and/or directories

  dest - the destination

  flags: - We support HideProgressInfo here Returns the job handling the operation

- copyAs (src, dest, flags)

  returns KIO.CopyJob

  Argument | Type | Default
  --- | --- | ---
  src | KUrl |
  dest | KUrl |
  flags | KIO.JobFlags | KIO.DefaultFlags

  Copy a file or directory src into the destination dest, which is the destination name in any case, even for a directory.

  As opposed to copy(), this doesn't emulate cp, but is the only way to copy a directory, giving it a new name and getting an error box if a directory already exists with the same name.

  src - the file or directory to copy

  dest - the destination

  flags: - We support HideProgressInfo here Returns the job handling the operation

- davPropFind (url, properties, depth, flags)

  returns KIO.DavJob

  Argument | Type | Default
  --- | --- | ---
  url | KUrl |
  properties | QDomDocument |
  depth | QString |
  flags | KIO.JobFlags | KIO.DefaultFlags

- davPropPatch (url, properties, flags)

  returns KIO.DavJob

  Argument | Type | Default
  --- | --- | ---
  url | KUrl |
  properties | QDomDocument |
  flags | KIO.JobFlags | KIO.DefaultFlags

  Creates a new DavJob that issues a PROPPATCH command. PROPPATCH sets the properties of the resource identified by the given url.

  url - the URL of the resource

  properties - a PROPPACTCH document that describes the properties that should be modified and its new values

  flags: - We support HideProgressInfo here Returns the new DavJob

- davSearch (url, nsURI, qName, query, flags)

  returns KIO.DavJob

  Argument | Type | Default
  --- | --- | ---
  url | KUrl |
  nsURI | QString |
  qName | QString |
  query | QString |
  flags | KIO.JobFlags | KIO.DefaultFlags

  Creates a new DavJob that issues a SEARCH command.

  url - the URL of the resource

  nsURI - the URI of the search method's qualified name

  qName - the local part of the search method's qualified name

  query - the search string

  flags: - We support HideProgressInfo here Returns the new DavJob

- decodeFileName (str)

  returns QString

  Argument | Type | Default
  --- | --- | ---
  str | QString |

  Decodes (from the filename to the text displayed) This translates %2[fF] into / and %% into %

  str - the file name to decode Returns the decoded file name

- del (src, flags)

  returns KIO.DeleteJob

  Argument | Type | Default
  --- | --- | ---
  src | KUrl |
  flags | KIO.JobFlags | KIO.DefaultFlags

- del (src, flags)

  returns KIO.DeleteJob

  Argument | Type | Default
  --- | --- | ---
  src | KUrl.List |
  flags | KIO.JobFlags | KIO.DefaultFlags

  Deletes a list of files or directories.

  src - the files to delete

  flags: - We support HideProgressInfo here Returns the job handling the operation

- directorySize (directory)

  returns KIO.DirectorySizeJob

  Argument | Type | Default
  --- | --- | ---
  directory | KUrl |

- directorySize (lstItems)

  returns KIO.DirectorySizeJob

  Argument | Type | Default
  --- | --- | ---
  lstItems | KFileItemList |

  Computes a directory size (by doing a recursive listing). Connect to the result signal. Use NetAccess.synchronousRun for a synchronous version.

  This one lists the items from lstItems. The reason we asks for items instead of just urls, is so that we directly know if the item is a file or a directory, and in case of a file, we already have its size.

- encodeFileName (str)

  returns QString

  Argument | Type | Default
  --- | --- | ---
  str | QString |

  Encodes (from the text displayed to the real filename) This translates % into %% and / into %2f Used by KIO.link, for instance.

  str - the file name to encode Returns the encoded file name

- fileMetaInfo (items)

  returns KIO.MetaInfoJob

  Argument | Type | Default
  --- | --- | ---
  items | KFileItemList |

- fileMetaInfo (items)

  returns KIO.MetaInfoJob

  Argument | Type | Default
  --- | --- | ---
  items | KUrl.List |

  Retrieves meta information for the given items.

  items - files to get metainfo for Returns the MetaInfoJob to retrieve the items

- filePreview (items, width, height, iconSize, iconAlpha, scale, save, enabledPlugins)

  returns KIO.PreviewJob

  Argument | Type | Default
  --- | --- | ---
  items | KFileItemList |
  width | int |
  height | int | 0
  iconSize | int | 0
  iconAlpha | int | 70
  scale | bool | 1
  save | bool | 1
  enabledPlugins | QStringList | 0

- filePreview (items, width, height, iconSize, iconAlpha, scale, save, enabledPlugins)

  returns KIO.PreviewJob

  Argument | Type | Default
  --- | --- | ---
  items | KUrl.List |
  width | int |
  height | int | 0
  iconSize | int | 0
  iconAlpha | int | 70
  scale | bool | 1
  save | bool | 1
  enabledPlugins | QStringList | 0

  Creates a PreviewJob to generate or retrieve a preview image for the given URL.

  items - files to get previews for

  width - the maximum width to use

  height - the maximum height to use, if this is 0, the same value as width is used.

  iconSize - the size of the mimetype icon to overlay over the preview or zero to not overlay an icon. This has no effect if the preview plugin that will be used doesn't use icon overlays.

  iconAlpha - transparency to use for the icon overlay

  scale - if the image is to be scaled to the requested size or returned in its original size

  save - if the image should be cached for later use

  enabledPlugins - if non-zero, this points to a list containing the names of the plugins that may be used. Returns the new PreviewJob

  See also PreviewJob.availablePlugins()

- file_copy (src, dest, permissions, flags)

  returns KIO.FileCopyJob

  Argument | Type | Default
  --- | --- | ---
  src | KUrl |
  dest | KUrl |
  permissions | int | -1
  flags | KIO.JobFlags | KIO.DefaultFlags

  Copy a single file.

  Uses either SlaveBase.copy() if the slave supports that or get() and put() otherwise.

  src - Where to get the file.

  dest - Where to put the file.

  permissions - May be -1. In this case no special permission mode is set.

  flags - Can be HideProgressInfo, Overwrite and Resume here. WARNING: Setting Resume means that the data will be appended to dest if dest exists. Returns the job handling the operation.

- file_delete (src, flags)

  returns KIO.SimpleJob

  Argument | Type | Default
  --- | --- | ---
  src | KUrl |
  flags | KIO.JobFlags | KIO.DefaultFlags

  Delete a single file.

  src - File to delete.

  flags - Can be HideProgressInfo here Returns the job handling the operation.

- file_move (src, dest, permissions, flags)

  returns KIO.FileCopyJob

  Argument | Type | Default
  --- | --- | ---
  src | KUrl |
  dest | KUrl |
  permissions | int | -1
  flags | KIO.JobFlags | KIO.DefaultFlags

  Move a single file.

  Use either SlaveBase.rename() if the slave supports that, or copy() and del() otherwise, or eventually get() & put() & del()

  src - Where to get the file.

  dest - Where to put the file.

  permissions - May be -1. In this case no special permission mode is set.

  flags - Can be HideProgressInfo, Overwrite and Resume here. WARNING: Setting Resume means that the data will be appended to dest if dest exists. Returns the job handling the operation.

- get (url, reload, flags)

  returns KIO.TransferJob

  Argument | Type | Default
  --- | --- | ---
  url | KUrl |
  reload | KIO.LoadType | KIO.NoReload
  flags | KIO.JobFlags | KIO.DefaultFlags

  Get (a.k.a. read).

  The slave emits the data through data().

  url - the URL of the file

  reload: - Reload to reload the file, NoReload if it can be taken from the cache

  flags - Can be HideProgressInfo here Returns the job handling the operation.

- getCacheControlString (cacheControl)

  returns QString

  Argument | Type | Default
  --- | --- | ---
  cacheControl | KIO.CacheControl |

  Returns a string representation of the given cache control method.

  cacheControl - the cache control method Returns the string representation

  See also parseCacheControl()

- getJobTracker ( )

  returns KJobTrackerInterface

- http_post (url, postData, flags)

  returns KIO.TransferJob

  Argument | Type | Default
  --- | --- | ---
  url | KUrl |
  postData | QByteArray |
  flags | KIO.JobFlags | KIO.DefaultFlags

  HTTP POST (for form data).

  Example:

      job = KIO.http_post( url, postData, KIO.HideProgressInfo );
      job->addMetaData("content-type", contentType );
      job->addMetaData("referrer", referrerURL);

  postData is the data that you want to send and contentType is the complete HTTP header line that specifies the content's MIME type, for example "Content-Type: text/xml".

  You MUST specify content-type!

  Often contentType is "Content-Type: application/x-www-form-urlencoded" and the postData is then an ASCII string (without null-termination!) with characters like space, linefeed and percent escaped like %20, %0A and %25.

  url - Where to write the data.

  postData - Encoded data to post.

  flags - Can be HideProgressInfo here Returns the job handling the operation.

- http_update_cache (url, no_cache, expireDate)

  returns KIO.SimpleJob

  Argument | Type | Default
  --- | --- | ---
  url | KUrl |
  no_cache | bool |
  expireDate | time_t |

  HTTP cache update

  url - Url to update, protocol must be "http".

  no_cache - If true, cache entry for url is deleted.

  expireDate - Local machine time indicating when the entry is supposed to expire. Returns the job handling the operation.

- itemsSummaryString (items, files, dirs, size, showSize)

  returns QString

  Argument | Type | Default
  --- | --- | ---
  items | uint |
  files | uint |
  dirs | uint |
  size | KIO.filesize_t |
  showSize | bool |

  Helper for showing information about a set of files and directories

  items - the number of items (= files + dirs + number of symlinks :)

  files - the number of files

  dirs - the number of dirs

  size - the sum of the size of the files

  showSize - whether to show the size in the result Returns the summary string

- link (src, destDir, flags)

  returns KIO.CopyJob

  Argument | Type | Default
  --- | --- | ---
  src | KUrl |
  destDir | KUrl |
  flags | KIO.JobFlags | KIO.DefaultFlags

  Create a link. If the protocols and hosts are the same, a Unix symlink will be created. Otherwise, a .desktop file of Type Link and pointing to the src URL will be created.

  src - The existing file or directory, 'target' of the link.

  destDir - Destination directory where the link will be created.

  flags: - We support HideProgressInfo here Returns the job handling the operation

- link (src, destDir, flags)

  returns KIO.CopyJob

  Argument | Type | Default
  --- | --- | ---
  src | KUrl.List |
  destDir | KUrl |
  flags | KIO.JobFlags | KIO.DefaultFlags

  Create several links If the protocols and hosts are the same, a Unix symlink will be created. Otherwise, a .desktop file of Type Link and pointing to the src URL will be created.

  src - The existing files or directories, 'targets' of the link.

  destDir - Destination directory where the links will be created.

  flags: - We support HideProgressInfo here Returns the job handling the operation

  See also link()

- linkAs (src, dest, flags)

  returns KIO.CopyJob

  Argument | Type | Default
  --- | --- | ---
  src | KUrl |
  dest | KUrl |
  flags | KIO.JobFlags | KIO.DefaultFlags

  Create a link. Unlike link() this operation will fail when the directory already exists. If the protocols and hosts are the same, a Unix symlink will be created. Otherwise, a .desktop file of Type Link and pointing to the src URL will be created.

  src - The existing file or directory, 'target' of the link.

  dest - Destination directory where the link will be created.

  flags: - We support HideProgressInfo here Returns the job handling the operation

  See also link ()

  See also copyAs()

- listDir (url, flags, includeHidden)

  returns KIO.ListJob

  Argument | Type | Default
  --- | --- | ---
  url | KUrl |
  flags | KIO.JobFlags | KIO.DefaultFlags
  includeHidden | bool | 1

  List the contents of url, which is assumed to be a directory.

  "." and ".." are returned, filter them out if you don't want them.

  url - the url of the directory

  flags - Can be HideProgressInfo here

  includeHidden - true for all files, false to cull out UNIX hidden files/dirs (whose names start with dot) Returns the job handling the operation.

- listRecursive (url, flags, includeHidden)

  returns KIO.ListJob

  Argument | Type | Default
  --- | --- | ---
  url | KUrl |
  flags | KIO.JobFlags | KIO.DefaultFlags
  includeHidden | bool | 1

  The same as the previous method, but recurses subdirectories. Directory links are not followed.

  "." and ".." are returned but only for the toplevel directory. Filter them out if you don't want them.

  url - the url of the directory

  flags - Can be HideProgressInfo here

  includeHidden - true for all files, false to cull out UNIX hidden files/dirs (whose names start with dot) Returns the job handling the operation.

- mimetype (url, flags)

  returns KIO.MimetypeJob

  Argument | Type | Default
  --- | --- | ---
  url | KUrl |
  flags | KIO.JobFlags | KIO.DefaultFlags

  Find mimetype for one file or directory.

  url - the URL of the file

  flags - Can be HideProgressInfo here Returns the job handling the operation.

- mkdir (url, permissions)

  returns KIO.SimpleJob

  Argument | Type | Default
  --- | --- | ---
  url | KUrl |
  permissions | int | -1

  Creates a single directory.

  url - The URL of the directory to create.

  permissions - The permissions to set after creating the directory (unix-style), -1 for default permissions. Returns A pointer to the job handling the operation.

- mount (ro, fstype, dev, point, flags)

  returns KIO.SimpleJob

  Argument | Type | Default
  --- | --- | ---
  ro | bool |
  fstype | QByteArray |
  dev | QString |
  point | QString |
  flags | KIO.JobFlags | KIO.DefaultFlags

  Mount filesystem.

  Special job for kio_file.

  ro - Mount read-only if true.

  fstype - File system type (e.g. "ext2", can be empty).

  dev - Device (e.g. /dev/sda0).

  point - Mount point, can be null.

  flags - Can be HideProgressInfo here Returns the job handling the operation.

- move (src, dest, flags)

  returns KIO.CopyJob

  Argument | Type | Default
  --- | --- | ---
  src | KUrl |
  dest | KUrl |
  flags | KIO.JobFlags | KIO.DefaultFlags

  Moves a file or directory src to the given destination dest.

  src - the file or directory to copy

  dest - the destination

  flags: - We support HideProgressInfo here Returns the job handling the operation

  See also copy()

  See also moveAs()

- move (src, dest, flags)

  returns KIO.CopyJob

  Argument | Type | Default
  --- | --- | ---
  src | KUrl.List |
  dest | KUrl |
  flags | KIO.JobFlags | KIO.DefaultFlags

  Moves a list of files or directories src to the given destination dest.

  src - the list of files or directories to copy

  dest - the destination

  flags: - We support HideProgressInfo here Returns the job handling the operation

  See also copy()

- moveAs (src, dest, flags)

  returns KIO.CopyJob

  Argument | Type | Default
  --- | --- | ---
  src | KUrl |
  dest | KUrl |
  flags | KIO.JobFlags | KIO.DefaultFlags

  Moves a file or directory src to the given destination dest. Unlike move() this operation will fail when the directory already exists.

  src - the file or directory to copy

  dest - the destination

  flags: - We support HideProgressInfo here Returns the job handling the operation

  See also copyAs()

- multi_get (id, url, metaData)

  returns KIO.MultiGetJob

  Argument | Type | Default
  --- | --- | ---
  id | long |
  url | KUrl |
  metaData | KIO.MetaData |

  Creates a new multiple get job.

  id - the id of the get operation

  url - the URL of the file

  metaData - the MetaData associated with the file

  Returns the job handling the operation.

  See also get()

- number (size)

  returns QString

  Argument | Type | Default
  --- | --- | ---
  size | KIO.filesize_t |

  Converts a size to a string representation Not unlike QString.number(...)

  size - size in bytes Returns converted size as a string - e.g. 123456789

- open (url, mode)

  returns KIO.FileJob

  Argument | Type | Default
  --- | --- | ---
  url | KUrl |
  mode | QIODevice.OpenMode |

  Open ( random access I/O )

  The file-job emits open() when opened

  url - the URL of the file

  mode - the access privileges: see OpenMode

  Returns The file-handling job. It will never return 0. Errors are handled asynchronously (emitted as signals).

- parseCacheControl (cacheControl)

  returns KIO.CacheControl

  Argument | Type | Default
  --- | --- | ---
  cacheControl | QString |

  Parses the string representation of the cache control option.

  cacheControl - the string representation Returns the cache control value

  See also getCacheControlString()

- pasteActionText ( )

  returns QString

  Returns the text to use for the Paste action, when the application supports pasting files, urls, and clipboard data, using pasteClipboard(). Returns a string suitable for KAction.setText, or an empty string if pasting isn't possible right now.

- pasteClipboard (destURL, widget, move)

  returns KIO.Job

  Argument | Type | Default
  --- | --- | ---
  destURL | KUrl |
  widget | QWidget |
  move | bool | 0

  Pastes the content of the clipboard to the given destination URL. URLs are treated separately (performing a file copy) from other data (which is saved into a file after asking the user to choose a filename and the preferred data format)

  destURL - the URL to receive the data

  widget - parent widget to use for dialogs

  move - true to move the data, false to copy Returns the job that handles the operation

  See also pasteData()

- pasteData (destURL, data, widget)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  destURL | KUrl |
  data | QByteArray |
  widget | QWidget |

  Pastes the given data to the given destination URL. NOTE: This method is blocking (uses NetAccess for saving the data). Please consider using pasteDataAsync instead.

  destURL - the URL of the directory where the data will be pasted. The filename to use in that directory is prompted by this method.

  data - the data to copy

  widget - parent widget to use for dialogs

  See also pasteClipboard()

- pasteDataAsync (destURL, data, widget, dialogText)

  returns KIO.CopyJob

  Argument | Type | Default
  --- | --- | ---
  destURL | KUrl |
  data | QByteArray |
  widget | QWidget |
  dialogText | QString | QString()

  Pastes the given data to the given destination URL. Note that this method requires the caller to have chosen the QByteArray to paste before hand, unlike pasteClipboard and pasteMimeSource.

  destURL - the URL of the directory where the data will be pasted. The filename to use in that directory is prompted by this method.

  data - the data to copy

  dialogText - the text to show in the dialog

  See also pasteClipboard()

- pasteMimeSource (data, destURL, dialogText, widget, clipboard)

  returns KIO.CopyJob

  Argument | Type | Default
  --- | --- | ---
  data | QMimeData |
  destURL | KUrl |
  dialogText | QString |
  widget | QWidget |
  clipboard | bool | 0

  Save the given mimesource data to the given destination URL after offering the user to choose a data format. This is the method used when handling drops (of anything else than URLs) onto kdesktop and konqueror.

  data - the QMimeData (from a QDropEvent or from the clipboard when pasting)

  destURL - the URL of the directory where the data will be pasted. The filename to use in that directory is prompted by this method.

  dialogText - the text to show in the dialog

  widget - parent widget to use for dialogs

  clipboard - whether the QMimeSource comes from QClipboard. If you use pasteClipboard for that case, you never have to worry about this parameter.

  See also pasteClipboard()

- pixmapForUrl (_url, _mode, _group, _force_size, _state, _path)

  returns QPixmap
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  _url | KUrl |
  _mode | mode_t | 0
  _group | KIconLoader.Group | KIconLoader.Desktop
  _force_size | int | 0
  _state | int | 0
  _path | QString | 0

  Convenience method to find the pixmap for a URL.

  Call this one when you don't know the mimetype.

  _url - URL for the file.

  _mode - the mode of the file. The mode may modify the icon with overlays that show special properties of the icon. Use 0 for default

  _group - The icon group where the icon is going to be used.

  _force_size - Override globally configured icon size. Use 0 for the default size

  _state - The icon state, one of: KIconLoader.DefaultState, KIconLoader.ActiveState or KIconLoader.DisabledState.

  _path - Output parameter to get the full path. Seldom needed. Ignored if 0 Returns the pixmap of the URL, can be a default icon if not found

- put (url, permissions, flags)

  returns KIO.TransferJob

  Argument | Type | Default
  --- | --- | ---
  url | KUrl |
  permissions | int |
  flags | KIO.JobFlags | KIO.DefaultFlags

  Put (a.k.a. write)

  url - Where to write data.

  permissions - May be -1. In this case no special permission mode is set.

  flags - Can be HideProgressInfo, Overwrite and Resume here. WARNING: Setting Resume means that the data will be appended to dest if dest exists. Returns the job handling the operation.

  See also multi_get()

- rawErrorDetail (errorCode, errorText, reqUrl, method)

  returns QByteArray

  Argument | Type | Default
  --- | --- | ---
  errorCode | int |
  errorText | QString |
  reqUrl | KUrl | 0
  method | int | -1

  Returns translated error details for errorCode using the additional error information provided by errorText , reqUrl (the request URL), and the ioslave method .

  errorCode - the error code

  errorText - the additional error text

  reqUrl - the request URL

  method - the ioslave method Returns the following data:

- QString errorName - the name of the error
- QString techName - if not null, the more technical name of the error
- QString description - a description of the error
- QStringList causes - a list of possible causes of the error
- QStringList solutions - a liso of solutions for the error

- rename (src, dest, flags)

  returns KIO.SimpleJob

  Argument | Type | Default
  --- | --- | ---
  src | KUrl |
  dest | KUrl |
  flags | KIO.JobFlags | KIO.DefaultFlags

  Rename a file or directory. Warning: this operation fails if a direct renaming is not possible (like with files or dirs on separate partitions) Use move or file_move in this case.

  src - The original URL

  dest - The final URL

  flags - Can be Overwrite here Returns the job handling the operation.

- rmdir (url)

  returns KIO.SimpleJob

  Argument | Type | Default
  --- | --- | ---
  url | KUrl |

  Removes a single directory.

  The directory is assumed to be empty.

  url - The URL of the directory to remove. Returns A pointer to the job handling the operation.

- setModificationTime (url, mtime)

  returns KIO.SimpleJob

  Argument | Type | Default
  --- | --- | ---
  url | KUrl |
  mtime | QDateTime |

  Changes the modification time on a file or directory.

  url - The URL of file or directory.

  permissions - The permissions to set. Returns the job handling the operation.

- special (url, data, flags)

  returns KIO.SimpleJob

  Argument | Type | Default
  --- | --- | ---
  url | KUrl |
  data | QByteArray |
  flags | KIO.JobFlags | KIO.DefaultFlags

  Execute any command that is specific to one slave (protocol).

  Examples are : HTTP POST, mount and unmount (kio_file)

  url - The URL isn't passed to the slave, but is used to know which slave to send it to :-)

  data - Packed data. The meaning is completely dependent on the slave, but usually starts with an int for the command number.

  flags - Can be HideProgressInfo here Returns the job handling the operation.

- stat (url, flags)

  returns KIO.StatJob

  Argument | Type | Default
  --- | --- | ---
  url | KUrl |
  flags | KIO.JobFlags | KIO.DefaultFlags

  Find all details for one file or directory.

  url - the URL of the file

  flags - Can be HideProgressInfo here Returns the job handling the operation.

- stat (url, side, details, flags)

  returns KIO.StatJob

  Argument | Type | Default
  --- | --- | ---
  url | KUrl |
  side | KIO::StatJob.StatSide |
  details | short |
  flags | KIO.JobFlags | KIO.DefaultFlags

  Find all details for one file or directory. This version of the call includes two additional booleans, sideIsSource and details.

  url - the URL of the file

  side - is SourceSide when stating a source file (we will do a get on it if the stat works) and DestinationSide when stating a destination file (target of a copy). The reason for this parameter is that in some cases the kioslave might not be able to determine a file's existence (e.g. HTTP doesn't allow it, FTP has issues with case-sensitivity on some systems). When the slave can't reliably determine the existence of a file, it will:

- be optimistic if SourceSide, i.e. it will assume the file exists,
and if it doesn't this will appear when actually trying to download it
- be pessimistic if DestinationSide, i.e. it will assume the file
doesn't exist, to prevent showing "about to overwrite" errors to the user. If you simply want to check for existence without downloading/uploading afterwards, then you should use DestinationSide.

details - selects the level of details we want. By default this is 2 (all details wanted, including modification time, size, etc.), setDetails(1) is used when deleting: we don't need all the information if it takes too much time, no need to follow symlinks etc. setDetails(0) is used for very simple probing: we'll only get the answer "it's a file or a directory, or it doesn't exist". This is used by KRun.

flags - Can be HideProgressInfo here Returns the job handling the operation.

- stat (url, sideIsSource, details, flags)

  returns KIO.StatJob

  Argument | Type | Default
  --- | --- | ---
  url | KUrl |
  sideIsSource | bool |
  details | short |
  flags | KIO.JobFlags | KIO.DefaultFlags

  Find all details for one file or directory. This version of the call includes two additional booleans, sideIsSource and details.

  url - the URL of the file

  sideIsSource - is true when stating a source file (we will do a get on it if the stat works) and false when stating a destination file (target of a copy). The reason for this parameter is that in some cases the kioslave might not be able to determine a file's existence (e.g. HTTP doesn't allow it, FTP has issues with case-sensitivity on some systems). When the slave can't reliably determine the existence of a file, it will:

- be optimistic if sideIsSource=true, i.e. it will assume the file exists,
and if it doesn't this will appear when actually trying to download it
- be pessimistic if sideIsSource=false, i.e. it will assume the file
doesn't exist, to prevent showing "about to overwrite" errors to the user. If you simply want to check for existence without downloading/uploading afterwards, then you should use sideIsSource=false.

details - selects the level of details we want. By default this is 2 (all details wanted, including modification time, size, etc.), setDetails(1) is used when deleting: we don't need all the information if it takes too much time, no need to follow symlinks etc. setDetails(0) is used for very simple probing: we'll only get the answer "it's a file or a directory, or it doesn't exist". This is used by KRun.

flags - Can be HideProgressInfo here Returns the job handling the operation.

- storedGet (url, reload, flags)

  returns KIO.StoredTransferJob

  Argument | Type | Default
  --- | --- | ---
  url | KUrl |
  reload | KIO.LoadType | KIO.NoReload
  flags | KIO.JobFlags | KIO.DefaultFlags

  Get (a.k.a. read), into a single QByteArray.

  See also StoredTransferJob

  url - the URL of the file

  reload: - Reload to reload the file, NoReload if it can be taken from the cache

  flags - Can be HideProgressInfo here Returns the job handling the operation.

- storedPut (arr, url, permissions, flags)

  returns KIO.StoredTransferJob

  Argument | Type | Default
  --- | --- | ---
  arr | QByteArray |
  url | KUrl |
  permissions | int |
  flags | KIO.JobFlags | KIO.DefaultFlags

  Put (a.k.a. write) data from a single QByteArray.

  See also StoredTransferJob

  arr - The data to write

  url - Where to write data.

  permissions - May be -1. In this case no special permission mode is set.

  flags - Can be HideProgressInfo, Overwrite and Resume here. WARNING: Setting Resume means that the data will be appended to dest if dest exists. Returns the job handling the operation.

- symlink (target, dest, flags)

  returns KIO.SimpleJob

  Argument | Type | Default
  --- | --- | ---
  target | QString |
  dest | KUrl |
  flags | KIO.JobFlags | KIO.DefaultFlags

  Create or move a symlink. This is the lowlevel operation, similar to file_copy and file_move. It doesn't do any check (other than those the slave does) and it doesn't show rename and skip dialogs - use KIO.link for that.

  target - The string that will become the "target" of the link (can be relative)

  dest - The symlink to create.

  flags - Can be Overwrite and HideProgressInfo Returns the job handling the operation.

- trash (src, flags)

  returns KIO.CopyJob

  Argument | Type | Default
  --- | --- | ---
  src | KUrl |
  flags | KIO.JobFlags | KIO.DefaultFlags

  Trash a file or directory. This is currently only supported for local files and directories. Use "KUrl src; src.setPath( path );" to create a URL from a path.

  src - file to delete

  flags: - We support HideProgressInfo here Returns the job handling the operation

- trash (src, flags)

  returns KIO.CopyJob

  Argument | Type | Default
  --- | --- | ---
  src | KUrl.List |
  flags | KIO.JobFlags | KIO.DefaultFlags

  Trash a list of files or directories. This is currently only supported for local files and directories.

  src - the files to delete

  flags: - We support HideProgressInfo here Returns the job handling the operation

- unmount (point, flags)

  returns KIO.SimpleJob

  Argument | Type | Default
  --- | --- | ---
  point | QString |
  flags | KIO.JobFlags | KIO.DefaultFlags

  Unmount filesystem.

  Special job for kio_file.

  point - Point to unmount.

  flags - Can be HideProgressInfo here Returns the job handling the operation.

- unsupportedActionErrorString (protocol, cmd)

  returns QString

  Argument | Type | Default
  --- | --- | ---
  protocol | QString |
  cmd | int |

  Returns an appropriate error message if the given command cmd is an unsupported action (ERR_UNSUPPORTED_ACTION).

  protocol - name of the protocol

  cmd - given command

  See also enum Command

### enums - detail

- CacheControl { CC_CacheOnly, CC_Cache, CC_Verify, CC_Refresh, CC_Reload }

  Specifies how to use the cache.

  See also parseCacheControl()

  See also getCacheControlString()

  | CC_CacheOnly | - | - |
  | CC_Cache | - | - |
  | CC_Verify | - | - |
  | CC_Refresh | - | - |
  | CC_Reload | - | - |

- Command { CMD_HOST, CMD_CONNECT, CMD_DISCONNECT, CMD_SLAVE_STATUS, CMD_SLAVE_CONNECT, CMD_SLAVE_HOLD, CMD_NONE, CMD_TESTDIR, CMD_GET, CMD_PUT, CMD_STAT, CMD_MIMETYPE, CMD_LISTDIR, CMD_MKDIR, CMD_RENAME, CMD_COPY, CMD_DEL, CMD_CHMOD, CMD_SPECIAL, CMD_SETMODIFICATIONTIME, CMD_REPARSECONFIGURATION, CMD_META_DATA, CMD_SYMLINK, CMD_SUBURL, CMD_MESSAGEBOXANSWER, CMD_RESUMEANSWER, CMD_CONFIG, CMD_MULTI_GET, CMD_SETLINKDEST, CMD_OPEN, CMD_CHOWN, CMD_READ, CMD_WRITE, CMD_SEEK, CMD_CLOSE }

  Internal Commands that can be invoked by a job.

  (Move this to a non-public header)

  | CMD_HOST | - '0' | - |
  | CMD_CONNECT | - '1' | - |
  | CMD_DISCONNECT | - '2' | - |
  | CMD_SLAVE_STATUS | - '3' | - |
  | CMD_SLAVE_CONNECT | - '4' | - |
  | CMD_SLAVE_HOLD | - '5' | - |
  | CMD_NONE | - 'A' | - |
  | CMD_TESTDIR | - 'B' | - |
  | CMD_GET | - 'C' | - |
  | CMD_PUT | - 'D' | - |
  | CMD_STAT | - 'E' | - |
  | CMD_MIMETYPE | - 'F' | - |
  | CMD_LISTDIR | - 'G' | - |
  | CMD_MKDIR | - 'H' | - |
  | CMD_RENAME | - 'I' | - |
  | CMD_COPY | - 'J' | - |
  | CMD_DEL | - 'K' | - |
  | CMD_CHMOD | - 'L' | - |
  | CMD_SPECIAL | - 'M' | - |
  | CMD_SETMODIFICATIONTIME | - 'N' | - |
  | CMD_REPARSECONFIGURATION | - 'O' | - |
  | CMD_META_DATA | - 'P' | - |
  | CMD_SYMLINK | - 'Q' | - |
  | CMD_SUBURL | - 'R' | - |
  | CMD_MESSAGEBOXANSWER | - 'S' | - |
  | CMD_RESUMEANSWER | - 'T' | - |
  | CMD_CONFIG | - 'U' | - |
  | CMD_MULTI_GET | - 'V' | - |
  | CMD_SETLINKDEST | - 'W' | - |
  | CMD_OPEN | - 'X' | - |
  | CMD_CHOWN | - 'Y' | - |
  | CMD_READ | - 'Z' | - |
  | CMD_WRITE | - 91 | - |
  | CMD_SEEK | - 92 | - |
  | CMD_CLOSE | - 93 | - |

- Error { ERR_CANNOT_OPEN_FOR_READING, ERR_CANNOT_OPEN_FOR_WRITING, ERR_CANNOT_LAUNCH_PROCESS, ERR_INTERNAL, ERR_MALFORMED_URL, ERR_UNSUPPORTED_PROTOCOL, ERR_NO_SOURCE_PROTOCOL, ERR_UNSUPPORTED_ACTION, ERR_IS_DIRECTORY, ERR_IS_FILE, ERR_DOES_NOT_EXIST, ERR_FILE_ALREADY_EXIST, ERR_DIR_ALREADY_EXIST, ERR_UNKNOWN_HOST, ERR_ACCESS_DENIED, ERR_WRITE_ACCESS_DENIED, ERR_CANNOT_ENTER_DIRECTORY, ERR_PROTOCOL_IS_NOT_A_FILESYSTEM, ERR_CYCLIC_LINK, ERR_USER_CANCELED, ERR_CYCLIC_COPY, ERR_COULD_NOT_CREATE_SOCKET, ERR_COULD_NOT_CONNECT, ERR_CONNECTION_BROKEN, ERR_NOT_FILTER_PROTOCOL, ERR_COULD_NOT_MOUNT, ERR_COULD_NOT_UNMOUNT, ERR_COULD_NOT_READ, ERR_COULD_NOT_WRITE, ERR_COULD_NOT_BIND, ERR_COULD_NOT_LISTEN, ERR_COULD_NOT_ACCEPT, ERR_COULD_NOT_LOGIN, ERR_COULD_NOT_STAT, ERR_COULD_NOT_CLOSEDIR, ERR_COULD_NOT_MKDIR, ERR_COULD_NOT_RMDIR, ERR_CANNOT_RESUME, ERR_CANNOT_RENAME, ERR_CANNOT_CHMOD, ERR_CANNOT_DELETE, ERR_SLAVE_DIED, ERR_OUT_OF_MEMORY, ERR_UNKNOWN_PROXY_HOST, ERR_COULD_NOT_AUTHENTICATE, ERR_ABORTED, ERR_INTERNAL_SERVER, ERR_SERVER_TIMEOUT, ERR_SERVICE_NOT_AVAILABLE, ERR_UNKNOWN, ERR_UNKNOWN_INTERRUPT, ERR_CANNOT_DELETE_ORIGINAL, ERR_CANNOT_DELETE_PARTIAL, ERR_CANNOT_RENAME_ORIGINAL, ERR_CANNOT_RENAME_PARTIAL, ERR_NEED_PASSWD, ERR_CANNOT_SYMLINK, ERR_NO_CONTENT, ERR_DISK_FULL, ERR_IDENTICAL_FILES, ERR_SLAVE_DEFINED, ERR_UPGRADE_REQUIRED, ERR_POST_DENIED, ERR_COULD_NOT_SEEK, ERR_CANNOT_SETTIME, ERR_CANNOT_CHOWN }

  Error codes that can be emitted by KIO.

  | ERR_CANNOT_OPEN_FOR_READING | - KJob::UserDefinedError+1 | - |
  | ERR_CANNOT_OPEN_FOR_WRITING | - KJob::UserDefinedError+2 | - |
  | ERR_CANNOT_LAUNCH_PROCESS | - KJob::UserDefinedError+3 | - |
  | ERR_INTERNAL | - KJob::UserDefinedError+4 | - |
  | ERR_MALFORMED_URL | - KJob::UserDefinedError+5 | - |
  | ERR_UNSUPPORTED_PROTOCOL | - KJob::UserDefinedError+6 | - |
  | ERR_NO_SOURCE_PROTOCOL | - KJob::UserDefinedError+7 | - |
  | ERR_UNSUPPORTED_ACTION | - KJob::UserDefinedError+8 | - |
  | ERR_IS_DIRECTORY | - KJob::UserDefinedError+9 | - |
  | ERR_IS_FILE | - KJob::UserDefinedError+10 | - |
  | ERR_DOES_NOT_EXIST | - KJob::UserDefinedError+11 | - |
  | ERR_FILE_ALREADY_EXIST | - KJob::UserDefinedError+12 | - |
  | ERR_DIR_ALREADY_EXIST | - KJob::UserDefinedError+13 | - |
  | ERR_UNKNOWN_HOST | - KJob::UserDefinedError+14 | - |
  | ERR_ACCESS_DENIED | - KJob::UserDefinedError+15 | - |
  | ERR_WRITE_ACCESS_DENIED | - KJob::UserDefinedError+16 | - |
  | ERR_CANNOT_ENTER_DIRECTORY | - KJob::UserDefinedError+17 | - |
  | ERR_PROTOCOL_IS_NOT_A_FILESYSTEM | - KJob::UserDefinedError+18 | - |
  | ERR_CYCLIC_LINK | - KJob::UserDefinedError+19 | - |
  | ERR_USER_CANCELED | - KJob::KilledJobError | - |
  | ERR_CYCLIC_COPY | - KJob::UserDefinedError+21 | - |
  | ERR_COULD_NOT_CREATE_SOCKET | - KJob::UserDefinedError+22 | - |
  | ERR_COULD_NOT_CONNECT | - KJob::UserDefinedError+23 | - |
  | ERR_CONNECTION_BROKEN | - KJob::UserDefinedError+24 | - |
  | ERR_NOT_FILTER_PROTOCOL | - KJob::UserDefinedError+25 | - |
  | ERR_COULD_NOT_MOUNT | - KJob::UserDefinedError+26 | - |
  | ERR_COULD_NOT_UNMOUNT | - KJob::UserDefinedError+27 | - |
  | ERR_COULD_NOT_READ | - KJob::UserDefinedError+28 | - |
  | ERR_COULD_NOT_WRITE | - KJob::UserDefinedError+29 | - |
  | ERR_COULD_NOT_BIND | - KJob::UserDefinedError+30 | - |
  | ERR_COULD_NOT_LISTEN | - KJob::UserDefinedError+31 | - |
  | ERR_COULD_NOT_ACCEPT | - KJob::UserDefinedError+32 | - |
  | ERR_COULD_NOT_LOGIN | - KJob::UserDefinedError+33 | - |
  | ERR_COULD_NOT_STAT | - KJob::UserDefinedError+34 | - |
  | ERR_COULD_NOT_CLOSEDIR | - KJob::UserDefinedError+35 | - |
  | ERR_COULD_NOT_MKDIR | - KJob::UserDefinedError+37 | - |
  | ERR_COULD_NOT_RMDIR | - KJob::UserDefinedError+38 | - |
  | ERR_CANNOT_RESUME | - KJob::UserDefinedError+39 | - |
  | ERR_CANNOT_RENAME | - KJob::UserDefinedError+40 | - |
  | ERR_CANNOT_CHMOD | - KJob::UserDefinedError+41 | - |
  | ERR_CANNOT_DELETE | - KJob::UserDefinedError+42 | - |
  | ERR_SLAVE_DIED | - KJob::UserDefinedError+43 | - |
  | ERR_OUT_OF_MEMORY | - KJob::UserDefinedError+44 | - |
  | ERR_UNKNOWN_PROXY_HOST | - KJob::UserDefinedError+45 | - |
  | ERR_COULD_NOT_AUTHENTICATE | - KJob::UserDefinedError+46 | - |
  | ERR_ABORTED | - KJob::UserDefinedError+47 | - |
  | ERR_INTERNAL_SERVER | - KJob::UserDefinedError+48 | - |
  | ERR_SERVER_TIMEOUT | - KJob::UserDefinedError+49 | - |
  | ERR_SERVICE_NOT_AVAILABLE | - KJob::UserDefinedError+50 | - |
  | ERR_UNKNOWN | - KJob::UserDefinedError+51 | - |
  | ERR_UNKNOWN_INTERRUPT | - KJob::UserDefinedError+53 | - |
  | ERR_CANNOT_DELETE_ORIGINAL | - KJob::UserDefinedError+54 | - |
  | ERR_CANNOT_DELETE_PARTIAL | - KJob::UserDefinedError+55 | - |
  | ERR_CANNOT_RENAME_ORIGINAL | - KJob::UserDefinedError+56 | - |
  | ERR_CANNOT_RENAME_PARTIAL | - KJob::UserDefinedError+57 | - |
  | ERR_NEED_PASSWD | - KJob::UserDefinedError+58 | - |
  | ERR_CANNOT_SYMLINK | - KJob::UserDefinedError+59 | - |
  | ERR_NO_CONTENT | - KJob::UserDefinedError+60 | - |
  | ERR_DISK_FULL | - KJob::UserDefinedError+61 | - |
  | ERR_IDENTICAL_FILES | - KJob::UserDefinedError+62 | - |
  | ERR_SLAVE_DEFINED | - KJob::UserDefinedError+63 | - |
  | ERR_UPGRADE_REQUIRED | - KJob::UserDefinedError+64 | - |
  | ERR_POST_DENIED | - KJob::UserDefinedError+65 | - |
  | ERR_COULD_NOT_SEEK | - KJob::UserDefinedError+66 | - |
  | ERR_CANNOT_SETTIME | - KJob::UserDefinedError+67 | - |
  | ERR_CANNOT_CHOWN | - KJob::UserDefinedError+68 | - |

- Info { INF_TOTAL_SIZE, INF_PROCESSED_SIZE, INF_SPEED, INF_REDIRECTION, INF_MIME_TYPE, INF_ERROR_PAGE, INF_WARNING, INF_GETTING_FILE, INF_UNUSED, INF_INFOMESSAGE, INF_META_DATA, INF_NETWORK_STATUS, INF_MESSAGEBOX, INF_POSITION }

  Identifiers for KIO informational messages.

  | INF_TOTAL_SIZE | - 10 | - |
  | INF_PROCESSED_SIZE | - 11 | - |
  | INF_SPEED | - | - |
  | INF_REDIRECTION | - 20 | - |
  | INF_MIME_TYPE | - 21 | - |
  | INF_ERROR_PAGE | - 22 | - |
  | INF_WARNING | - 23 | - |
  | INF_GETTING_FILE | - | - |
  | INF_UNUSED | - 25 | - |
  | INF_INFOMESSAGE | - | - |
  | INF_META_DATA | - | - |
  | INF_NETWORK_STATUS | - | - |
  | INF_MESSAGEBOX | - | - |
  | INF_POSITION | - | - |

- JobFlag { DefaultFlags, HideProgressInfo, Resume, Overwrite }

  Show the progress info GUI, no Resume and no Overwrite

  | DefaultFlags | - 0 | - | Show the progress info GUI, no Resume and no Overwrite
  | HideProgressInfo | - 1 | - |
  | Resume | - 2 | - |
  | Overwrite | - 4 | - |

- LoadType { Reload, NoReload }

  | Reload | - | - |
  | NoReload | - | - |

- Message { MSG_DATA, MSG_DATA_REQ, MSG_ERROR, MSG_CONNECTED, MSG_FINISHED, MSG_STAT_ENTRY, MSG_LIST_ENTRIES, MSG_RENAMED, MSG_RESUME, MSG_SLAVE_STATUS, MSG_SLAVE_ACK, MSG_NET_REQUEST, MSG_NET_DROP, MSG_NEED_SUBURL_DATA, MSG_CANRESUME, MSG_AUTH_KEY, MSG_DEL_AUTH_KEY, MSG_OPENED, MSG_WRITTEN }

  Identifiers for KIO data messages.

  | MSG_DATA | - 100 | - |
  | MSG_DATA_REQ | - | - |
  | MSG_ERROR | - | - |
  | MSG_CONNECTED | - | - |
  | MSG_FINISHED | - | - |
  | MSG_STAT_ENTRY | - | - |
  | MSG_LIST_ENTRIES | - | - |
  | MSG_RENAMED | - | - |
  | MSG_RESUME | - | - |
  | MSG_SLAVE_STATUS | - | - |
  | MSG_SLAVE_ACK | - | - |
  | MSG_NET_REQUEST | - | - |
  | MSG_NET_DROP | - | - |
  | MSG_NEED_SUBURL_DATA | - | - |
  | MSG_CANRESUME | - | - |
  | MSG_AUTH_KEY | - | - |
  | MSG_DEL_AUTH_KEY | - | - |
  | MSG_OPENED | - | - |
  | MSG_WRITTEN | - | - |

- RenameDialog_Mode { M_OVERWRITE, M_OVERWRITE_ITSELF, M_SKIP, M_SINGLE, M_MULTI, M_RESUME, M_NORENAME }

  | M_OVERWRITE | - 1 | - |
  | M_OVERWRITE_ITSELF | - 2 | - |
  | M_SKIP | - 4 | - |
  | M_SINGLE | - 8 | - |
  | M_MULTI | - 16 | - |
  | M_RESUME | - 32 | - |
  | M_NORENAME | - 64 | - |

- RenameDialog_Result { R_RESUME, R_RESUME_ALL, R_OVERWRITE, R_OVERWRITE_ALL, R_SKIP, R_AUTO_SKIP, R_RENAME, R_CANCEL }

  The result of open_RenameDialog().

  | R_RESUME | - 6 | - |
  | R_RESUME_ALL | - 7 | - |
  | R_OVERWRITE | - 4 | - |
  | R_OVERWRITE_ALL | - 5 | - |
  | R_SKIP | - 2 | - |
  | R_AUTO_SKIP | - 3 | - |
  | R_RENAME | - 1 | - |
  | R_CANCEL | - 0 | - |

- SkipDialog_Result { S_SKIP, S_AUTO_SKIP, S_CANCEL }

  | S_SKIP | - 1 | - |
  | S_AUTO_SKIP | - 2 | - |
  | S_CANCEL | - 0 | - |