filelight
Folder Class Reference
#include <fileTree.h>
Inheritance diagram for Folder:
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
|
inline |
Definition at line 274 of file fileTree.h.
Member Function Documentation
|
inline |
appends a Folder
Definition at line 284 of file fileTree.h.
|
inline |
appends a File
Definition at line 297 of file fileTree.h.
|
inline |
Definition at line 276 of file fileTree.h.
|
inlinevirtual |
Reimplemented from File.
Definition at line 279 of file fileTree.h.
|
inline |
removes a file
Definition at line 303 of file fileTree.h.
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.