~ubuntu-branches/ubuntu/hoary/kdemultimedia/hoary

« back to all changes in this revision

Viewing changes to noatun/noatun/library/playlistsaver.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Schulze
  • Date: 2003-01-22 15:00:51 UTC
  • Revision ID: james.westby@ubuntu.com-20030122150051-uihwkdoxf15mi1tn
Tags: upstream-2.2.2
ImportĀ upstreamĀ versionĀ 2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef PLAYLISTSAVER_H
 
2
#define PLAYLISTSAVER_H
 
3
 
 
4
#include <ksimpleconfig.h>
 
5
 
 
6
class PlaylistSaver : public KSimpleConfig
 
7
{
 
8
public:
 
9
        PlaylistSaver(const QString &file);
 
10
        ~PlaylistSaver();
 
11
        
 
12
        QString title();
 
13
        void setTitle(const QString &title);
 
14
        QDateTime date();
 
15
        QString location();
 
16
        
 
17
        static bool isPlaylist(const QString &file);
 
18
        
 
19
        QStringList fileList() const;
 
20
        
 
21
        QString file() const;
 
22
        void setFile(const QString &file);
 
23
        
 
24
        
 
25
        
 
26
        
 
27
private:
 
28
        void setGroup(const QString &s) {KSimpleConfig::setGroup(s);}
 
29
        QString group() const { return KSimpleConfig::group(); }
 
30
        QStringList groupList() const {return KSimpleConfig::groupList();}
 
31
        
 
32
        static QString &stripFilePre(QString &);
 
33
        
 
34
        
 
35
};
 
36
 
 
37
#endif