#### PyKDE - Python Bindings for KDE

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

Module | tdefile
Class | KFilePreview
Inherits | TQSplitter, KFileView

### methods

- KFilePreview (parent, name)

  returns a KFilePreview instance
  Argument | Type | Default
  --- | --- | ---
  parent | TQWidget |
  name | char |

- KFilePreview (view, parent, name)

  returns a KFilePreview instance
  Argument | Type | Default
  --- | --- | ---
  view | KFileView |
  parent | TQWidget |
  name | char |

- actionCollection ()

  returns (TDEActionCollection)

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

  returns nothing
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | TDEConfig |
  group | TQString | TQString .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 | TQWidget |
  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 | TQDir.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 (TQWidget)

- writeConfig (a0, group = TQString .null)

  returns nothing
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | TDEConfig |
  group | TQString | TQString .null