class KFilePreview

# class KFilePreview |
Definition | `#include <kfilepreview.h>`
Inherits | KFileView [public ], QSplitter (qt) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- KFilePreview (QWidget *parent, const char *name)
- KFilePreview (KFileView *view, QWidget *parent, const char *name)
- virtual ~KFilePreview ()
- virtual QWidget * widget ()
- virtual void clearView ()
- void setFileView (KFileView *view)
- KFileView* fileView () const
- virtual void updateView ( bool )
- virtual void updateView (const KFileItem*)
- virtual void removeItem (const KFileItem*)
- virtual void listingCompleted ()
- 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 insertItem (KFileItem *)
- virtual void clear ()
- 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 setSorting ( QDir::SortSpec sort )
- virtual void readConfig ( KConfig *, const QString& group = QString::null )
- virtual void writeConfig ( KConfig *, const QString& group = QString::null)
- virtual KActionCollection * actionCollection () const
- void ensureItemVisible (const KFileItem *)
- void setPreviewWidget (const QWidget *w, const KURL &u)

#### Signals

- void showPreview (const KURL &)
- void clearPreview ()

#### Protected Methods

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

#### Protected Slots

- virtual void slotHighlighted ( const KFileItem * )

## Detailed Description

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

KFilePreview (KFileView *view, QWidget *parent, const char *name) | ### KFilePreview

~KFilePreview () | ### ~KFilePreview

[virtual]

QWidget * widget () | ### widget

[virtual]

Reimplemented from KFileView.

void clearView () | ### clearView

[virtual]

Reimplemented from KFileView.

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

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

KFileView* fileView () | ### fileView

[const]

Returns: the current fileview

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 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 insertItem (KFileItem *) | ### insertItem

[virtual]

Reimplemented from KFileView.

void clear () | ### clear

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

KActionCollection * actionCollection () | ### actionCollection

[const virtual]

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.

Reimplemented from KFileView.

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

Reimplemented from KFileView.

void setPreviewWidget (const QWidget *w, const KURL &u) | ### setPreviewWidget

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

[protected slots virtual slot]

void showPreview (const KURL &) | ### showPreview

[signal]

void clearPreview () | ### clearPreview

[signal]

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.