# class KCombiView

###

Table of contents
Modules
kio Classes
All Classes

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

This view is designed to combine two KFileViews into one widget, to show directories on the left side and files on the right side.

Methods like selectedItems() to query status _only_ work on the right side, i.e. on the files.

After creating the KCombiView, you need to supply the view shown in the right, (see setRight()). Available KFileView implementations are K3FileIconView and KFileDetailView.

Most of the below methods are just implementations of the baseclass KFileView, so look there for documentation.

See also KFileView

See also K3FileIconView

See also KFileDetailView

See also KDirOperator

### methods

- KCombiView (parent)

  returns a KCombiView object

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

- actionCollection ()

  returns (KActionCollection)

- clear ()

  returns nothing

- clearSelection ()

  returns nothing

- clearView ()

  returns nothing

- currentFileItem ()

  returns (KFileItem)

- ensureItemVisible (a0)

  returns nothing

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

- eventFilter (o, e)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  o | QObject |
  e | QEvent |

- firstFileItem ()

  returns (KFileItem)

- insertItem (i)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  i | 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

- setAcceptDrops (b)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  b | bool |

- setCurrentItem (a0)

  returns nothing

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

- setDropOptions (options)

  returns nothing

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

- setRight (view)

  returns nothing

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

  Sets the view to be shown in the right. You need to call this before doing anything else with this widget.

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

- slotSortingChanged (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | QDir.SortFlags |

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