kio
KFileTreeViewItem Class Reference
An item for a KFileTreeView that knows about its own KFileItem. More...
#include <kfiletreeviewitem.h>
Inheritance diagram for KFileTreeViewItem:
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 |
QString KFileTreeViewItem::path | ( | ) | const |
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 |
The documentation for this class was generated from the following files: