• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kio

KFileTreeViewItem Class Reference

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

#include <kfiletreeviewitem.h>

Inheritance diagram for KFileTreeViewItem:

Inheritance graph
[legend]

List of all members.


Public Member Functions

bool alreadyListed () const
KFileTreeBranch * branch () const
KFileItem * fileItem () const
bool isDir () const
 KFileTreeViewItem (KFileTreeView *, KFileItem *, KFileTreeBranch *)
 KFileTreeViewItem (KFileTreeViewItem *, KFileItem *, KFileTreeBranch *)
QString path () const
void setListed (bool wasListed)
KURL url () const
 ~KFileTreeViewItem ()

Detailed Description

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

Definition at line 40 of file kfiletreeviewitem.h.


Constructor & Destructor Documentation

KFileTreeViewItem::KFileTreeViewItem ( KFileTreeViewItem *  parent,
KFileItem *  item,
KFileTreeBranch *  brnch 
)

Definition at line 29 of file kfiletreeviewitem.cpp.

KFileTreeViewItem::KFileTreeViewItem ( KFileTreeView *  parent,
KFileItem *  item,
KFileTreeBranch *  brnch 
)

Definition at line 42 of file kfiletreeviewitem.cpp.

KFileTreeViewItem::~KFileTreeViewItem (  ) 

Definition at line 54 of file kfiletreeviewitem.cpp.


Member Function Documentation

bool KFileTreeViewItem::alreadyListed (  )  const

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

Definition at line 60 of file kfiletreeviewitem.cpp.

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 (  )  const

Returns:
if the item represents a directory

Definition at line 80 of file kfiletreeviewitem.cpp.

QString KFileTreeViewItem::path (  )  const

Returns:
the path of the item.

Definition at line 75 of file kfiletreeviewitem.cpp.

void KFileTreeViewItem::setListed ( bool  wasListed  ) 

set the flag if the directory was already listed.

Definition at line 65 of file kfiletreeviewitem.cpp.

KURL KFileTreeViewItem::url (  )  const

Returns:
the items KURL

Definition at line 70 of file kfiletreeviewitem.cpp.


The documentation for this class was generated from the following files:
  • kfiletreeviewitem.h
  • kfiletreeviewitem.cpp

kio

Skip menu "kio"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal