KDE 4.9 PyKDE API Reference

- KDE's Python API

# global Namespace Reference

`from PyKDE4.kio import *`

## Detailed Description

## Class Index

A | KFile | KOperaBookmarkImporterImpl
KAbstractFileItemActionPlugin | FileCopyJob (KIO) | P
KAbstractFileModule | KFileDialog | PasswordDialog (KIO)
KAbstractFileWidget | KFileFilterCombo | PredicateProperties
AccessManager (KIO) | FileItem (KIO.RenameDialogPlugin) | PreviewJob (KIO)
KACL | KFileItem | KPreviewWidgetBase
KAr | KFileItemActionPlugin | KPropertiesDialog
KArchive | KFileItemActions | KPropertiesDialogPlugin
KArchiveDirectory | KFileItemDelegate | KProtocolManager
KArchiveEntry | KFileItemList | R
KArchiveFile | KFileItemListProperties | KRecentDocument
AuthInfo (KIO) | FileJob (KIO) | KRemoteEncoding
AutoLogin (KIO.NetRC) | KFileMetaDataConfigurationWidget | RenameDialog (KIO)
KAutoMount | KFileMetaDataWidget | RenameDialogPlugin (KIO)
KAutoUnmount | KFileMetaInfo | Result (KEncodingFileDialog)
B | KFileMetaInfoItem | KRun
KBookmark | KFilePlacesModel | S
KBookmarkAction | KFilePlacesView | KSambaShare
KBookmarkActionInterface | KFilePreviewGenerator | KSambaShareData
KBookmarkActionMenu | KFileSharePropsPlugin | KScanDialog
KBookmarkContextMenu | FileUndoManager (KIO) | Scheduler (KIO)
KBookmarkDialog | KFileWidget | SessionData (KIO)
KBookmarkDomBuilder | KFileWritePlugin | KShellCompletion
KBookmarkExporterBase | ForwardingSlaveBase (KIO) | SimpleJob (KIO)
KBookmarkGroup | I | SkipDialog (KIO)
KBookmarkGroupTraverser | KIconButton | Slave (KIO)
KBookmarkImporterBase | KIconCanvas | SlaveBase (KIO)
KBookmarkManager | KIconDialog | SlaveConfig (KIO)
KBookmarkMenu | KIEBookmarkExporterImpl | SlaveInterface (KIO)
KBookmarkOwner | KIEBookmarkImporterImpl | SpecialJob (KIO)
KBuildSycocaProgressDialog | KImageFilePreview | StatJob (KIO)
C | J | KStatusBarOfflineIndicator
ChmodJob (KIO) | Job (KIO) | StoredTransferJob (KIO)
Connection (KIO) | JobUiDelegate (KIO) | T
ConnectionServer (KIO) | L | KTar
CookieJar (KIO.Integration) | List (KBookmark) | TCPSlaveBase (KIO)
CopyInfo (KIO) | List (KMountPoint) | ThumbCreator
CopyJob (KIO) | ListJob (KIO) | ThumbCreatorV2
KCrashBookmarkImporter | M | ThumbSequenceCreator
KCrashBookmarkImporterImpl | MetaInfoJob (KIO) | TransferJob (KIO)
D | KMimeTypeChooser | U
KDataTool | KMimeTypeChooserDialog | UDSEntry (KIO)
KDataToolAction | MimetypeJob (KIO) | UiInterface (KIO.FileUndoManager)
KDataToolInfo | KMountPoint | KUriFilter
DavJob (KIO) | KMozillaBookmarkImporterImpl | KUriFilterData
KDBusServiceStarter | MultiGetJob (KIO) | KUriFilterPlugin
DeleteJob (KIO) | N | KUriFilterSearchProvider
KDeviceListModel | KNameAndUrlInputDialog | KUrlComboBox
DirectorySizeJob (KIO) | NetAccess (KIO) | KUrlComboRequester
KDirLister | NetRC (KIO) | KUrlCompletion
KDirModel | KNewFileMenu | KUrlNavigator
KDirOperator | KNFSShare | KUrlPixmapProvider
KDirSelectDialog | KNSBookmarkExporterImpl | KUrlRequester
KDirSortFilterProxyModel | KNSBookmarkImporterImpl | KUrlRequesterDialog
KDirWatch | O | X
KDiskFreeSpace | KOCRDialog | KXBELBookmarkImporterImpl
KDiskFreeSpaceInfo | KonqBookmarkContextMenu | Z
E | KonqBookmarkMenu | KZip
KEMailSettings | KonqBookmarkOwner | KZipFileEntry
KEncodingFileDialog | KOpenWithDialog |
F | KOperaBookmarkExporterImpl |

## Functions

QDataStream | operator << (QDataStream s, KACL a)
QDataStream | operator << (QDataStream s, KFileItem a)
QDebug | operator << (QDebug stream, KFileItem item)
QDataStream | operator << (QDataStream s, KIO.UDSEntry a)
QDataStream | operator >> (QDataStream s, KACL a)
QDataStream | operator >> (QDataStream s, KFileItem a)
QDataStream | operator >> (QDataStream s, KIO.UDSEntry a)
long | qHash (QString key)
long | qHash (KFileItem item)

## Function Documentation

QDataStream operator << | ( | QDataStream | s,
|  | KACL | a
| ) |  |  |

Support for qDebug() << aFileItem

Since:
  4.4

QDataStream operator << | ( | QDataStream | s,
|  | KFileItem | a
| ) |  |  |

Support for qDebug() << aFileItem

Since:
  4.4

QDebug operator << | ( | QDebug | stream,
|  | KFileItem | item
| ) |  |  |

Support for qDebug() << aFileItem

Since:
  4.4

QDataStream operator << | ( | QDataStream | s,
|  | KIO.UDSEntry | a
| ) |  |  |

Support for qDebug() << aFileItem

Since:
  4.4

QDataStream operator >> | ( | QDataStream | s,
|  | KACL | a
| ) |  |  |

QDataStream operator >> | ( | QDataStream | s,
|  | KFileItem | a
| ) |  |  |

QDataStream operator >> | ( | QDataStream | s,
|  | KIO.UDSEntry | a
| ) |  |  |

long qHash | ( | QString | key
| ) |  |  |

A KFileItem is a generic class to handle a file, local or remote. In particular, it makes it easier to handle the result of KIO.listDir (UDSEntry isn't very friendly to use). It includes many file attributes such as mimetype, icon, text, mode, link...

KFileItem is implicitly shared, i.e. it can be used as a value and copied around at almost no cost.

long qHash | ( | KFileItem | item
| ) |  |  |

A KFileItem is a generic class to handle a file, local or remote. In particular, it makes it easier to handle the result of KIO.listDir (UDSEntry isn't very friendly to use). It includes many file attributes such as mimetype, icon, text, mode, link...

KFileItem is implicitly shared, i.e. it can be used as a value and copied around at almost no cost.