summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer3/audiowidget.h
blob: abdd781e4851b129e29166ca7e0d7f31be4e9d70 (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
32
33
34
35
36
37
38
39
40
#ifndef _audiowidget_h
#define _audiowidget_h

#include <qwidget.h>

#include <qpe/applnk.h>

namespace XINE {
    class Lib;
}

class QVBoxLayout;
class QTextView;
class QSlider;
class QLabel;

class AudioWidget:public QWidget
{
    Q_OBJECT
public:
    AudioWidget( QWidget * parent=0, const char * name=0, WFlags f=0 );
    virtual ~AudioWidget();

    int playFile(const DocLnk&,XINE::Lib*);

public slots:
    virtual void stopPlaying();
    virtual void updatePos(int);

protected:
    XINE::Lib*m_xineLib;
    DocLnk m_current;
    QVBoxLayout*m_MainLayout;
    QTextView*m_InfoBox;

    static QString secToString(int sec);
protected slots:
};

#endif