Main Page   Alphabetical List   Compound List   File List   Compound Members   File Members  

MusicFolderInfo Class Reference

#include <musicfolderinfo.h>

List of all members.

Public Methods

 MusicFolderInfo ()
 ~MusicFolderInfo ()
QString nicePlayingTime ()
void add (const KFileItem &file)
void add (const MusicFolderInfo &folder)

Public Attributes

unsigned long int playingTime
KIO::filesize_t size
unsigned int items
unsigned int subFolders


Detailed Description

Encapsulates some folder info like total playing time, number of songs, etc
Author:
Avi Alkalay


Constructor & Destructor Documentation

MusicFolderInfo::MusicFolderInfo  
 

MusicFolderInfo::~MusicFolderInfo   [inline]
 


Member Function Documentation

QString MusicFolderInfo::nicePlayingTime  
 

Returns the string for the playing time represented as hh:mm:ss

void MusicFolderInfo::add const KFileItem &    file
 

Adds the file info to this folder statistics.

void MusicFolderInfo::add const MusicFolderInfo &    folder
 

Adds a subfolder statistics to this folder statistics.


Member Data Documentation

unsigned long int MusicFolderInfo::playingTime
 

The folder total playing time

KIO::filesize_t MusicFolderInfo::size
 

Folder size in bytes

unsigned int MusicFolderInfo::items
 

Total number of intems inside folder

unsigned int MusicFolderInfo::subFolders
 

Total subfolders, only used for _ROOT_ folder


The documentation for this class was generated from the following file:
Generated on Sat Jul 26 08:03:49 2003 for MusicMan by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002