class KFileIconView

# class KFileIconView | An icon-view capable of showing KFileItem's. More...
Definition | `#include <kfileiconview.h>`
Inherits | KFileView [public ], KIconView (kdeui) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- KFileIconView (QWidget *parent, const char *name)
- virtual ~KFileIconView ()
- virtual QWidget * widget ()
- virtual void clearView ()
- virtual void setAutoUpdate ( bool )
- virtual void updateView ( bool )
- virtual void updateView (const KFileItem*)
- virtual void removeItem (const KFileItem*)
- virtual void listingCompleted ()
- virtual void insertItem ( KFileItem *i )
- virtual void setSelectionMode ( KFile::SelectionMode sm )
- virtual void setSelected (const KFileItem *, bool)
- virtual bool isSelected (const KFileItem *i) 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
- void setIconSize ( int size )
- void setPreviewSize ( int size )
- int iconSize () const
- void ensureItemVisible ( const KFileItem * )
- 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 mimeTypeDeterminationFinished ()
- void determineIcon ( KFileIconViewItem *item )
- QScrollView * scrollWidget () const

#### Public Slots

- void showPreviews ()
- virtual void arrangeItemsInGrid ( bool updated = true )

#### Protected Methods

- virtual void keyPressEvent ( QKeyEvent * )
- virtual void hideEvent ( QHideEvent * )
- virtual void showEvent ( QShowEvent * )
- virtual bool eventFilter ( QObject *o, QEvent *e )
- virtual void virtual_hook ( int id, void* data )

## Detailed Description

An icon-view capable of showing KFileItem's. Used in the filedialog for example. Most of the documentation is in KFileView class.

See also: KDirOperator, KCombiView, KFileDetailView

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

~KFileIconView () | ### ~KFileIconView

[virtual]

QWidget * widget () | ### widget

[virtual]

Reimplemented from KFileView.

void clearView () | ### clearView

[virtual]

Reimplemented from KFileView.

void setAutoUpdate ( bool ) | ### setAutoUpdate

[virtual]

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

[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 *i) | ### 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 setIconSize ( int size ) | ### setIconSize

Sets the size of the icons to show. Defaults to KIcon::SizeSmall.

void setPreviewSize ( int size ) | ### setPreviewSize

Sets the size of the previews. Defaults to KIcon::SizeLarge.

int iconSize () | ### iconSize

[const]

Returns: the current size used for icons.

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

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 mimeTypeDeterminationFinished () | ### mimeTypeDeterminationFinished

void determineIcon ( KFileIconViewItem *item ) | ### determineIcon

QScrollView * scrollWidget () | ### scrollWidget

[const]

void showPreviews () | ### showPreviews

[slot]

Starts loading previews for all files shown and shows them. Switches into 'large rows' mode, if that isn't the current mode yet.

void arrangeItemsInGrid ( bool updated = true ) | ### arrangeItemsInGrid

[virtual slot]

Reimplemented for performance reasons.

void keyPressEvent ( QKeyEvent * ) | ### keyPressEvent

[protected virtual]

Reimplemented to not let QIconView eat return-key events

void hideEvent ( QHideEvent * ) | ### hideEvent

[protected virtual]

Reimplemented to remove an eventual tooltip

void showEvent ( QShowEvent * ) | ### showEvent

[protected virtual]

bool eventFilter ( QObject *o, QEvent *e ) | ### eventFilter

[protected virtual]

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

[protected virtual]

Reimplemented from KIconView.

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