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

filelight

Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
File Class Reference

#include <fileTree.h>

Inheritance diagram for File:
Inheritance graph
[legend]

Public Member Functions

 File (const char *name, FileSize size)
 
virtual ~File ()
 
QString fullPath (const Folder *=0) const
 
QString humanReadableSize () const
 
virtual bool isFolder () const
 
QString name () const
 
const char * name8Bit () const
 
Folder * parent () const
 
FileSize size () const
 

Protected Member Functions

 File (const char *name, FileSize size, Folder *parent)
 

Protected Attributes

char * m_name
 
Folder * m_parent
 
FileSize m_size
 

Detailed Description

Definition at line 225 of file fileTree.h.

Constructor & Destructor Documentation

File::File ( const char *  name,
FileSize  size 
)
inline

Definition at line 231 of file fileTree.h.

virtual File::~File ( )
inlinevirtual

Definition at line 232 of file fileTree.h.

File::File ( const char *  name,
FileSize  size,
Folder *  parent 
)
inlineprotected

Definition at line 259 of file fileTree.h.

Member Function Documentation

QString File::fullPath ( const Folder *  root = 0) const

Definition at line 28 of file fileTree.cpp.

QString File::humanReadableSize ( ) const
inline

Definition at line 254 of file fileTree.h.

virtual bool File::isFolder ( ) const
inlinevirtual

Reimplemented in Folder.

Definition at line 249 of file fileTree.h.

QString File::name ( ) const
inline

Definition at line 245 of file fileTree.h.

const char* File::name8Bit ( ) const
inline

Definition at line 239 of file fileTree.h.

Folder* File::parent ( ) const
inline

Definition at line 236 of file fileTree.h.

FileSize File::size ( ) const
inline

Definition at line 242 of file fileTree.h.

Member Data Documentation

char* File::m_name
protected

Definition at line 262 of file fileTree.h.

Folder* File::m_parent
protected

Definition at line 261 of file fileTree.h.

FileSize File::m_size
protected

Definition at line 263 of file fileTree.h.


The documentation for this class was generated from the following files:
  • fileTree.h
  • fileTree.cpp
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