#### PyKDE - Python Bindings for KDE

# class KFilePreview

Table of contents
Modules
kfile Classes
All Classes

Module | kfile
Class | KFilePreview
Inherits | QSplitter, KFileView

### methods

- KFilePreview (parent, name)

  returns a KFilePreview instance

  Argument | Type | Default
  --- | --- | ---
  parent | QWidget |
  name | char |

- KFilePreview (view, parent, name)

  returns a KFilePreview instance

  Argument | Type | Default
  --- | --- | ---
  view | KFileView |
  parent | QWidget |
  name | char |

- actionCollection ()

  returns (KActionCollection)

- clear ()

  returns nothing

- clearPreview ()

  returns nothing

- clearSelection ()

  returns nothing

- clearView ()

  returns nothing

- currentFileItem ()

  returns (KFileItem)

- ensureItemVisible (a0)

  returns nothing

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

- fileView ()

  returns (KFileView)

- firstFileItem ()

  returns (KFileItem)

- insertItem (a0)

  returns nothing

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

- invertSelection ()

  returns nothing

- isSelected (a0)

  returns (bool)

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

- listingCompleted ()

  returns nothing

- nextItem (a0)

  returns (KFileItem)

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

- prevItem (a0)

  returns (KFileItem)

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

- readConfig (a0, group = QString .null)

  returns nothing
  In versions KDE 3.1.0 and above only

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

- removeItem (a0)

  returns nothing

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

- selectAll ()

  returns nothing

- setCurrentItem (a0)

  returns nothing

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

- setFileView (view)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  view | KFileView |

- setPreviewWidget (w, u)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  w | QWidget |
  u | KURL |

- setSelected (a0, a1)

  returns nothing

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

- setSelectionMode (sm)

  returns nothing

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

- setSorting (sort)

  returns nothing

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

- showPreview (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | KURL |

- slotHighlighted (a0)

  returns nothing

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

- updateView (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | bool |

- updateView (a0)

  returns nothing

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

- widget ()

  returns (QWidget)

- writeConfig (a0, group = QString .null)

  returns nothing
  In versions KDE 3.1.0 and above only

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