#### PyKDE - Python Bindings for KDE

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

Module | tdefile
Class | KFileView (abstract)
Inherits |

### enums

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

### methods

- KFileView ()

  returns a KFileView instance

- actionCollection ()

  returns (TDEActionCollection)

- 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 = TQString .null)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | TDEConfig |
  group | TQString | TQString .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 | TQString |

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

- setViewMode (vm)

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

- setViewName (name)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  name | TQString |

- signaler ()

  returns (KFileViewSignaler)

- sortReversed ()

  returns nothing

- sorting ()

  returns (TQDir.SortSpec)

- sortingKey (value, isDir, sortSpec)

  returns (TQString)
  static
  Argument | Type | Default
  --- | --- | ---
  value | TQString |
  isDir | bool |
  sortSpec | int |

- sortingKey (value, isDir, sortSpec)

  returns (TQString)
  static
  Argument | Type | Default
  --- | --- | ---
  value | _TDEIO.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 (TQString)

- widget () = 0

  returns (TQWidget)
  pure virtual

- widget ()

  Not Implemented

- writeConfig (a0, group = TQString .null)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | TDEConfig |
  group | TQString | TQString .null