• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kio/kfile
 

kio/kfile

Public Member Functions | List of all members
KFileTreeViewItem Class Reference

#include <kfiletreeviewitem.h>

Inherits KListViewItem.

Public Member Functions

 KFileTreeViewItem (KFileTreeViewItem *, KFileItem *, KFileTreeBranch *)
 
 KFileTreeViewItem (KFileTreeView *, KFileItem *, KFileTreeBranch *)
 
KFileTreeBranch * branch () const
 
KFileItem * fileItem () const
 
TQString 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

◆ alreadyListed()

bool KFileTreeViewItem::alreadyListed ( ) const
Returns
if this directory was already seen by a KDirLister.

Definition at line 60 of file kfiletreeviewitem.cpp.

◆ branch()

KFileTreeBranch* KFileTreeViewItem::branch ( ) const
inline
Returns
the KFileTreeBranch the item is sorted in.

Definition at line 50 of file kfiletreeviewitem.h.

◆ fileItem()

KFileItem* KFileTreeViewItem::fileItem ( ) const
inline
Returns
the KFileItem the viewitem is representing.

Definition at line 55 of file kfiletreeviewitem.h.

◆ isDir()

bool KFileTreeViewItem::isDir ( ) const
Returns
if the item represents a directory

Definition at line 80 of file kfiletreeviewitem.cpp.

◆ path()

TQString KFileTreeViewItem::path ( ) const
Returns
the path of the item.

Definition at line 75 of file kfiletreeviewitem.cpp.

◆ setListed()

void KFileTreeViewItem::setListed ( bool  wasListed)

set the flag if the directory was already listed.

Definition at line 65 of file kfiletreeviewitem.cpp.

◆ url()

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/kfile

Skip menu "kio/kfile"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kio/kfile

Skip menu "kio/kfile"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kio/kfile by doxygen 1.8.13
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |