Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

KFileTreeViewItem Class Reference

#include <kfiletreeviewitem.h>

Inheritance diagram for KFileTreeViewItem:

KListViewItem List of all members.

Public Methods

KFileTreeBranchbranch () const
KFileItemfileItem () const
QString path () const
KURL url () const
bool isDir () const
bool alreadyListed () const
void setListed (bool wasListed)

Detailed Description

An item for a KFileTreeView that knows about its own KFileItem.

Definition at line 40 of file kfiletreeviewitem.h.


Member Function Documentation

bool KFileTreeViewItem::alreadyListed  
 

Returns:
if this directory was already seen by a KDirLister.

KFileTreeBranch* KFileTreeViewItem::branch   const [inline]
 

Returns:
the KFileTreeBranch the item is sorted in.

Definition at line 50 of file kfiletreeviewitem.h.

KFileItem* KFileTreeViewItem::fileItem   const [inline]
 

Returns:
the KFileItem the viewitem is representing.

Definition at line 55 of file kfiletreeviewitem.h.

bool KFileTreeViewItem::isDir  
 

Returns:
if the item represents a directory

QString KFileTreeViewItem::path  
 

Returns:
the path of the item.

void KFileTreeViewItem::setListed bool    wasListed
 

set the flag if the directory was already listed.

KURL KFileTreeViewItem::url  
 

Returns:
the items KURL


The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:13 2003 for kdelibs by doxygen1.2.18