class KCombiView

# class KCombiView | This view is designed to combine two KFileViews into one widget, to show directories on the left side and files on the right side. More...
Definition | `#include <kcombiview.h>`
Inherits | KFileView [public ], QSplitter (qt) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- KCombiView ( QWidget *parent, const char *name)
- virtual ~KCombiView ()
- virtual QWidget * widget ()
- virtual void clearView ()
- virtual void updateView ( bool )
- virtual void updateView (const KFileItem*)
- virtual void removeItem ( const KFileItem * )
- virtual void listingCompleted ()
- void setRight (KFileView *view)
- virtual void setSelectionMode ( KFile::SelectionMode sm )
- virtual void setSelected (const KFileItem *, bool)
- virtual bool isSelected ( const KFileItem * ) const
- virtual void clearSelection ()
- virtual void selectAll ()
- virtual void invertSelection ()
- virtual void setCurrentItem ( const KFileItem * )
- virtual KFileItem * currentFileItem () const
- virtual KFileItem * firstFileItem () const
- virtual KFileItem * nextItem ( const KFileItem * ) const
- virtual KFileItem * prevItem ( const KFileItem * ) const
- virtual void insertItem ( KFileItem *i )
- virtual void clear ()
- virtual void setSorting ( QDir::SortSpec sort )
- virtual void readConfig ( KConfig *, const QString& group = QString::null )
- virtual void writeConfig ( KConfig *, const QString& group = QString::null)
- void ensureItemVisible ( const KFileItem * )
- virtual KActionCollection * actionCollection () const

#### Protected Methods

- virtual void virtual_hook ( int id, void* data )

#### Protected Slots

- void slotSortingChanged ( QDir::SortSpec )

#### Protected Members

- KFileIconView *left
- KFileView *right

## Detailed Description

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 KFileIconView and KFileDetailView.

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

See also: KFileView, KFileIconView, KFileDetailView, KDirOperator

KCombiView ( QWidget *parent, const char *name) | ### KCombiView

~KCombiView () | ### ~KCombiView

[virtual]

QWidget * widget () | ### widget

[virtual]

Reimplemented from KFileView.

void clearView () | ### clearView

[virtual]

Reimplemented from KFileView.

void updateView ( bool ) | ### updateView

[virtual]

Reimplemented from KFileView.

void updateView (const KFileItem*) | ### updateView

[virtual]

Reimplemented from KFileView.

void removeItem ( const KFileItem * ) | ### removeItem

[virtual]

Reimplemented from KFileView.

void listingCompleted () | ### listingCompleted

[virtual]

Reimplemented from KFileView.

void setRight (KFileView *view) | ### setRight

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

void setSelectionMode ( KFile::SelectionMode sm ) | ### setSelectionMode

[virtual]

Reimplemented from KFileView.

void setSelected (const KFileItem *, bool) | ### setSelected

[virtual]

Reimplemented from KFileView.

bool isSelected ( const KFileItem * ) | ### isSelected

[const virtual]

Reimplemented from KFileView.

void clearSelection () | ### clearSelection

[virtual]

Reimplemented from KFileView.

void selectAll () | ### selectAll

[virtual]

Reimplemented from KFileView.

void invertSelection () | ### invertSelection

[virtual]

Reimplemented from KFileView.

void setCurrentItem ( const KFileItem * ) | ### setCurrentItem

[virtual]

Reimplemented from KFileView.

KFileItem * currentFileItem () | ### currentFileItem

[const virtual]

Reimplemented from KFileView.

KFileItem * firstFileItem () | ### firstFileItem

[const virtual]

Reimplemented from KFileView.

KFileItem * nextItem ( const KFileItem * ) | ### nextItem

[const virtual]

Reimplemented from KFileView.

KFileItem * prevItem ( const KFileItem * ) | ### prevItem

[const virtual]

Reimplemented from KFileView.

void insertItem ( KFileItem *i ) | ### insertItem

[virtual]

Reimplemented from KFileView.

void clear () | ### clear

[virtual]

Reimplemented from KFileView.

void setSorting ( QDir::SortSpec sort ) | ### setSorting

[virtual]

Reimplemented from KFileView.

void readConfig ( KConfig *, const QString& group = QString::null ) | ### readConfig

[virtual]

Reimplemented from KFileView.

void writeConfig ( KConfig *, const QString& group = QString::null) | ### writeConfig

[virtual]

Reimplemented from KFileView.

void ensureItemVisible ( const KFileItem * ) | ### ensureItemVisible

Reimplemented from KFileView.

KActionCollection * actionCollection () | ### actionCollection

[const virtual]

Reimplemented from KFileView.

KFileIconView * left | ### left

[protected]

KFileView * right | ### right

[protected]

void slotSortingChanged ( QDir::SortSpec ) | ### slotSortingChanged

[protected slots slot]

void virtual_hook ( int id, void* data ) | ### virtual_hook

[protected virtual]

Reimplemented from KFileView.

Generated by: root on macppc.ports.openbsd.org on Sat Sep 6 10:37:17 2003, using kdoc 2.0a54.