kio Library API Documentation

KFileTreeViewItem Class Reference

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

#include <kfiletreeviewitem.h>

Inheritance diagram for KFileTreeViewItem:

KListViewItem QListViewItem 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)
 set the flag if the directory was already listed.


Detailed Description

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

Definition at line 40 of file kfiletreeviewitem.h.


Member Function Documentation

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.

QString KFileTreeViewItem::path  
 

Returns:
the path of the item.

Definition at line 75 of file kfiletreeviewitem.cpp.

KURL KFileTreeViewItem::url  
 

Returns:
the items KURL

Definition at line 70 of file kfiletreeviewitem.cpp.

References KFileItem::url().

Referenced by KFileTreeView::currentURL().

bool KFileTreeViewItem::isDir  
 

Returns:
if the item represents a directory

Definition at line 80 of file kfiletreeviewitem.cpp.

References KFileItem::isDir().

bool KFileTreeViewItem::alreadyListed  
 

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

Definition at line 60 of file kfiletreeviewitem.cpp.

Referenced by KFileTreeBranch::populate().

void KFileTreeViewItem::setListed bool    wasListed
 

set the flag if the directory was already listed.

Definition at line 65 of file kfiletreeviewitem.cpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.0.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Oct 8 12:21:36 2003 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2001