Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

om3u.h

Go to the documentation of this file.
00001 /*
00002                     This file is part of the Opie Project
00003 
00004                              Copyright (c)  2002 L. Potter <ljp@llornkcor.com>
00005               =.
00006             .=l.
00007      .>+-=
00008 _;:,   .>  :=|.         This program is free software; you can
00009 .> <`_,  > .  <=          redistribute it and/or  modify it under
00010 :`=1 )Y*s>-.--  :           the terms of the GNU General Public
00011 .="- .-=="i,   .._         License as published by the Free Software
00012 - .  .-<_>   .<>         Foundation; either version 2 of the License,
00013   ._= =}    :          or (at your option) any later version.
00014   .%`+i>    _;_.
00015   .i_,=:_.   -<s.       This program is distributed in the hope that
00016   + . -:.    =       it will be useful,  but WITHOUT ANY WARRANTY;
00017   : ..  .:,   . . .    without even the implied warranty of
00018   =_    +   =;=|`    MERCHANTABILITY or FITNESS FOR A
00019  _.=:.    :  :=>`:     PARTICULAR PURPOSE. See the GNU
00020 ..}^=.=    =    ;      General Public License for more
00021 ++=  -.   .`   .:       details.
00022 :   = ...= . :.=-
00023 -.  .:....=;==+<;          You should have received a copy of the GNU
00024  -_. . .  )=. =           General Public License along with
00025   --    :-=`           this library; see the file COPYING.LIB.
00026                              If not, write to the Free Software Foundation,
00027                              Inc., 59 Temple Place - Suite 330,
00028                              Boston, MA 02111-1307, USA.
00029 
00030 */
00031 
00032 #ifndef OM3U_H
00033 #define OM3U_H
00034 
00035 #include "playlistwidget.h"
00036 
00037 #include <opie2/oresource.h>
00038 
00039 #include <qpe/applnk.h>
00040 #include <qpe/qpeapplication.h>
00041 #include <qpe/storage.h>
00042 #include <qpe/mimetype.h>
00043 #include <qpe/global.h>
00044 
00045 #include <qdir.h>
00046 #include <qregexp.h>
00047 #include <qstring.h>
00048 #include <qtextstream.h>
00049 #include <qstringlist.h>
00050 #include <qcstring.h>
00051 #include <qfile.h>
00052 
00053 
00054 class Om3u : public QStringList {
00055 //    Q_OBJECT
00056 public:
00057     Om3u( const QString &filePath, int mode);
00058     ~Om3u();
00059     void readM3u();
00060     void readPls();
00061     void write();
00062     void add(const QString &);
00063     void remove(const QString &);
00064     void deleteFile(const QString &);
00065     void close();
00066     
00067 public slots:
00068 
00069 protected:
00070 
00071 private:
00072   QFile f;
00073 private slots:
00074         
00075 
00076 };    
00077 
00078 #endif// M3U_H
00079 
00080 

Generated on Sat Nov 5 16:15:42 2005 for OPIE by  doxygen 1.4.2