00001 /*************************************************************************** 00002 musicinfo.h - description 00003 ------------------- 00004 begin : Sat Jun 21 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 MUSICINFO_H 00019 #define MUSICINFO_H 00020 00021 #include <qstring.h> 00022 00023 class KFileMetaInfo; 00024 00029 class MusicInfo { 00030 public: 00032 MusicInfo(KFileMetaInfo &metaInfo); 00033 MusicInfo(); 00034 ~MusicInfo(); 00035 00037 bool isNull(); 00038 00041 void updateMetaInfo(KFileMetaInfo &metaInfo); 00042 00043 00044 public: // Public attributes 00046 QString title; 00047 00049 QString artist; 00050 00052 QString album; 00053 00055 int track; 00056 00058 int year; 00059 00061 QString comment; 00062 00064 QString lyrics; 00065 }; 00066 00067 #endif 00068