# class KFilePreview

###

Table of contents
Modules
kio Classes
All Classes

Module | kio
Namespace | global
Class | KFilePreview
Inherits | QSplitter, KFileView

### methods

- KFilePreview (parent)

  returns a KFilePreview object

  Argument | Type | Default
  --- | --- | ---
  parent | QWidget |

- KFilePreview (view, parent)

  returns a KFilePreview object

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

- actionCollection ()

  returns (KActionCollection)

  This overrides KFileView.actionCollection() by returning the actionCollection() of the KFileView (member left) it contains. This means that KFilePreview will never create a KActionCollection object of its own.

- clear ()

  returns nothing

- clearPreview () signal

  returns nothing
  SIGNAL ("clearPreview ()")

- clearSelection ()

  returns nothing

- clearView ()

  returns nothing

- currentFileItem ()

  returns (KFileItem)

- ensureItemVisible (a0)

  returns nothing

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

- fileView ()

  returns (KFileView)

  Returns the current fileview

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

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | KConfigGroup |

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

  Delets the current view and sets the view to the given view. The view is reparented to have this as parent, if necessary.

- 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.SortFlags |

- showPreview (a0) signal

  returns nothing
  SIGNAL ("showPreview (const KUrl&)")

  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)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | KConfigGroup |