#### PyKDE - Python Bindings for KDE

# class KFile

Table of contents
Modules
kfile Classes
All Classes

Module | kfile
Class | KFile
Inherits |

### enums

- FileView = {Default = 0, Simple = 1, Detail = 2, SeparateDirs = 4, PreviewContents = 8, PreviewInfo = 16, FileViewMax = 65536 }
- FileView = {Default = 0, Simple = 1, Detail = 2, SeparateDirs = 4, PreviewContents = 8, PreviewInfo = 16 }
- Mode = {File = 1, Directory = 2, Files = 4, ExistingOnly = 8, LocalOnly = 16, ModeMax = 65536 }
- Mode = {File = 1, Directory = 2, Files = 4, ExistingOnly = 8, LocalOnly = 16 }
- SelectionMode = {Single = 1, Multi = 2, Extended = 4, NoSelection = 8 }

### 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 |