kio Library API Documentation

KFileListViewItem Class Reference

An item for the listiew, that has a reference to its corresponding KFileItem. More...

#include <kfiledetailview.h>

Inheritance diagram for KFileListViewItem:

KListViewItem QListViewItem List of all members.

Public Methods

 KFileListViewItem (QListView *parent, const QString &text, const QPixmap &icon, KFileItem *fi)
 KFileListViewItem (QListView *parent, KFileItem *fi)
 KFileListViewItem (QListView *parent, const QString &text, const QPixmap &icon, KFileItem *fi, QListViewItem *after)
 ~KFileListViewItem ()
KFileItemfileInfo () const
virtual QString key (int, bool) const
void setKey (const QString &key)
QRect rect () const
void init ()

Detailed Description

An item for the listiew, that has a reference to its corresponding KFileItem.

Definition at line 37 of file kfiledetailview.h.


Constructor & Destructor Documentation

KFileListViewItem::KFileListViewItem QListView   parent,
KFileItem   fi
[inline]
 

Since:
3.1.

Definition at line 50 of file kfiledetailview.h.

References init().


Member Function Documentation

KFileItem* KFileListViewItem::fileInfo   const [inline]
 

Returns:
the corresponding KFileItem

Definition at line 69 of file kfiledetailview.h.

Referenced by KFileDetailView::currentFileItem(), and KFileDetailView::updateView().

void KFileListViewItem::init  
 

Since:
3.1.

Definition at line 669 of file kfiledetailview.cpp.

References KFileItem::group(), KGlobal::locale(), KFileItem::permissionsString(), KFileItem::pixmap(), QListViewItem::setPixmap(), QListViewItem::setText(), KFileItem::size(), KIcon::SizeSmall, KFileItem::text(), KFileItem::timeString(), and KFileItem::user().

Referenced by KFileListViewItem().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kio Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sun May 16 22:03:31 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003