• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeutils API Reference
  • KDE Home
  • Contact Us
 

filelight

Public Member Functions | List of all members
Folder Class Reference

#include <fileTree.h>

Inheritance diagram for Folder:
Inheritance graph
[legend]

Public Member Functions

 Folder (const char *name)
 
void append (Folder *d, const char *name=0)
 
void append (const char *name, FileSize size)
 
uint children () const
 
virtual bool isFolder () const
 
void remove (const File *f)
 
- Public Member Functions inherited from Chain< File >
virtual ~Chain ()
 
void append (File *const data)
 
ConstIterator< File > constIterator () const
 
void empty ()
 
const Link< File > * end () const
 
bool isEmpty () const
 
void transferTo (Chain &c)
 
- Public Member Functions inherited from File
 File (const char *name, FileSize size)
 
virtual ~File ()
 
QString fullPath (const Folder *=0) const
 
QString humanReadableSize () const
 
QString name () const
 
const char * name8Bit () const
 
Folder * parent () const
 
FileSize size () const
 

Additional Inherited Members

- Protected Member Functions inherited from File
 File (const char *name, FileSize size, Folder *parent)
 
- Protected Attributes inherited from File
char * m_name
 
Folder * m_parent
 
FileSize m_size
 

Detailed Description

Definition at line 271 of file fileTree.h.

Constructor & Destructor Documentation

Folder::Folder ( const char *  name)
inline

Definition at line 274 of file fileTree.h.

Member Function Documentation

void Folder::append ( Folder *  d,
const char *  name = 0 
)
inline

appends a Folder

Definition at line 284 of file fileTree.h.

void Folder::append ( const char *  name,
FileSize  size 
)
inline

appends a File

Definition at line 297 of file fileTree.h.

uint Folder::children ( ) const
inline

Definition at line 276 of file fileTree.h.

virtual bool Folder::isFolder ( ) const
inlinevirtual

Reimplemented from File.

Definition at line 279 of file fileTree.h.

void Folder::remove ( const File *  f)
inline

removes a file

Definition at line 303 of file fileTree.h.


The documentation for this class was generated from the following file:
  • fileTree.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:08:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

filelight

Skip menu "filelight"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • kremotecontrol
  • ktimer
  • kwallet
  • superkaramba
  • sweeper

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal