summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/playlistfileview.h
blob: 4e179669256a9e528a55b46dc38230587bb00f5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef PLAYLISTFILEVIEW_H
#define PLAYLISTFILEVIEW_H

#include "playlistview.h"

#include <qpe/applnk.h>

class PlayListFileView : public PlayListView
{
    Q_OBJECT
public:
    PlayListFileView( const QString &mimeTypePattern, QWidget *parent, const char *name = 0 );
    virtual ~PlayListFileView();

    // both temporarily accessible that way until the caller code has
    // been migrated into this class
    DocLnkSet &files() { return m_files; }
    bool &scannedFiles() { return m_scannedFiles; }

public slots:
    void scanFiles();

private:
    QString m_mimeTypePattern;
    DocLnkSet m_files;
    bool m_scannedFiles;
};

#endif // PLAYLISTFILEVIEW_H
/* vim: et sw=4 ts=4
 */