#### PyKDE - Python Bindings for KDE

# class KFile |
Table of contents
Modules
kfile Classes
All Classes

Module | kfile
Class | KFile
Inherits |

### enums

- FileView = {Default, Simple, Detail, SeparateDirs, PreviewContents, PreviewInfo, FileViewMax }
- FileView = {Default, Simple, Detail, SeparateDirs, PreviewContents, PreviewInfo }
- Mode = {File, Directory, Files, ExistingOnly, LocalOnly, ModeMax }
- Mode = {File, Directory, Files, ExistingOnly, LocalOnly }
- SelectionMode = {Single, Multi, Extended, NoSelection }

### methods

- isDefaultView ()

  returns (bool) view (KFile.FileView)
  static

- isDetailView ()

  returns (bool) view (KFile.FileView)
  static

- isPreviewContents ()

  returns (bool) view (KFile.FileView)
  static

- isPreviewInfo ()

  returns (bool) view (KFile.FileView)
  In versions KDE 3.1.0 and above only
  static

- isSeparateDirs ()

  returns (bool) view (KFile.FileView)
  static

- isSimpleView ()

  returns (bool) view (KFile.FileView)
  static

- isSortByDate (sort)

  returns (bool)
  static
  Argument | Type | Default
  --- | --- | ---
  sort | QDir.SortSpec |

- isSortByName (sort)

  returns (bool)
  static
  Argument | Type | Default
  --- | --- | ---
  sort | QDir.SortSpec |

- isSortBySize (sort)

  returns (bool)
  static
  Argument | Type | Default
  --- | --- | ---
  sort | QDir.SortSpec |

- isSortCaseInsensitive (sort)

  returns (bool)
  static
  Argument | Type | Default
  --- | --- | ---
  sort | QDir.SortSpec |

- isSortDirsFirst (sort)

  returns (bool)
  static
  Argument | Type | Default
  --- | --- | ---
  sort | QDir.SortSpec |