#### PyKDE - Python Bindings for KDE

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

Module | tdefile
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 | TQDir.SortSpec |

- isSortByName (sort)

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

- isSortBySize (sort)

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

- isSortCaseInsensitive (sort)

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

- isSortDirsFirst (sort)

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