Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

folderplaylist.h 1.52 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
/***************************************************************************
    copyright            : (C) 2004 by Scott Wheeler
    email                : wheeler@kde.org
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef FOLDERPLAYLIST_H
#define FOLDERPLAYLIST_H

#include "playlist.h"

class FolderPlaylist : public Playlist
{
    Q_OBJECT

public:
25
    explicit FolderPlaylist(PlaylistCollection *collection, const QString &folder = QString::null,
26 27 28
                   const QString &name = QString::null);
    virtual ~FolderPlaylist();

29 30 31
    QString folder() const;
    void setFolder(const QString &s);

32 33 34 35 36
    virtual bool canReload() const { return true; }

public slots:
    virtual void slotReload();

37 38 39 40
private:
    QString m_folder;
};

41 42 43
QDataStream &operator<<(QDataStream &s, const FolderPlaylist &p);
QDataStream &operator>>(QDataStream &s, FolderPlaylist &p);

44
#endif
45 46

// vim: set et sw=4 tw=0 sta: