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

musicfolderinfo.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           musicfolderinfo.h  -  description
00003                              -------------------
00004     begin                : Sat Jun 7 2003
00005     copyright            : (C) 2003 by Avi Alkalay
00006     email                : avi@unix.sh
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef MUSICFOLDERINFO_H
00019 #define MUSICFOLDERINFO_H
00020 
00021 #include <kfile.h>
00022 #include <kfileitem.h>
00023 
00028 class MusicFolderInfo {
00029 public: 
00030     MusicFolderInfo();
00031     ~MusicFolderInfo() {}
00032 
00033 
00035     QString nicePlayingTime();
00036 
00037 
00039     void add(const KFileItem &file);
00040 
00041 
00043     void add(const MusicFolderInfo &folder);
00044 
00045 public: // Private attributes
00047     unsigned long int playingTime;
00048 
00050     KIO::filesize_t size;
00051 
00053     unsigned int items;
00054 
00056     unsigned int subFolders;
00057 };
00058 
00059 #endif

Generated on Sat Jul 26 08:03:49 2003 for MusicMan by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002