#### PyKDE - Python Bindings for KDE

# class KFileView

Table of contents
Modules
kfile Classes
All Classes

Module | kfile
Class | KFileView (abstract)
Inherits |

### enums

- DropOptions = {AutoOpenDirs }
- ViewMode = {Files, Directories, All }

### methods

- KFileView ()

  returns a KFileView instance

- actionCollection ()

  returns (KActionCollection)

- addItemList (list)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  list | KFileItemList |

- autoOpenDelay ()

  returns (int)
  In versions KDE 3.2.0 and above only
  static

- clear ()

  returns nothing

- clearSelection () = 0

  returns nothing
  pure virtual

- clearView () = 0

  returns nothing
  pure virtual

- count ()

  returns (uint)

- currentFileItem () = 0

  returns (KFileItem)
  pure virtual

- dropOptions ()

  returns (int)
  In versions KDE 3.2.0 and above only

- ensureItemVisible (i) = 0

  returns nothing
  pure virtual

  Argument | Type | Default
  --- | --- | ---
  i | KFileItem |

- firstFileItem () = 0

  returns (KFileItem)
  pure virtual

- insertItem (i)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  i | KFileItem |

- invertSelection ()

  returns nothing

- isReversed ()

  returns (bool)

- isSelected (a0) = 0

  returns (bool)
  pure virtual

  Argument | Type | Default
  --- | --- | ---
  a0 | KFileItem |

- items ()

  returns (KFileItemList)

- listingCompleted ()

  returns nothing

- nextItem (a0) = 0

  returns (KFileItem)
  pure virtual

  Argument | Type | Default
  --- | --- | ---
  a0 | KFileItem |

- numDirs ()

  returns (uint)

- numFiles ()

  returns (uint)

- onlyDoubleClickSelectsFiles ()

  returns (bool)

- prevItem (a0) = 0

  returns (KFileItem)
  pure virtual

  Argument | Type | Default
  --- | --- | ---
  a0 | KFileItem |

- readConfig (a0, group = QString .null)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | KConfig |
  group | QString | QString .null

- removeItem (item)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  item | KFileItem |

- selectAll ()

  returns nothing

- selectedItems ()

  returns (KFileItemList)

- selectionMode ()

  returns (KFile.SelectionMode)

- setCurrentItem (filename)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  filename | QString |

- setCurrentItem (item) = 0

  returns nothing
  pure virtual

  Argument | Type | Default
  --- | --- | ---
  item | KFileItem |

- setDropOptions (options)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  options | int |

- setDropOptions_impl (options)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  options | int |

- setOnlyDoubleClickSelectsFiles (enable)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  enable | bool |

- setParentView (parent)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  parent | KFileView |

- setSelected (a0, enable) = 0

  returns nothing
  pure virtual

  Argument | Type | Default
  --- | --- | ---
  a0 | KFileItem |
  enable | bool |

- setSelectionMode (sm)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  sm | KFile.SelectionMode |

- setSorting (sort)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  sort | QDir.SortSpec |

- setViewMode (vm)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  vm | KFileView.ViewMode |

- setViewName (name)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  name | QString |

- signaler ()

  returns (KFileViewSignaler)

- sortReversed ()

  returns nothing

- sorting ()

  returns (QDir.SortSpec)

- sortingKey (value, isDir, sortSpec)

  returns (QString)
  static

  Argument | Type | Default
  --- | --- | ---
  value | QString |
  isDir | bool |
  sortSpec | int |

- sortingKey (value, isDir, sortSpec)

  returns (QString)
  static

  Argument | Type | Default
  --- | --- | ---
  value | KIO.filesize_t |
  isDir | bool |
  sortSpec | int |

- updateNumbers (i)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  i | KFileItem |

- updateView (f = 1)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  f | bool | 1

- updateView (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | KFileItem |

- viewMode ()

  returns (ViewMode)

- viewName ()

  returns (QString)

- widget () = 0

  returns (QWidget)
  pure virtual

- widget ()

  Not Implemented

- writeConfig (a0, group = QString .null)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | KConfig |
  group | QString | QString .null