Diffstat (limited to 'noncore/multimedia/opieplayer2/audiowidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/audiowidget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.h b/noncore/multimedia/opieplayer2/audiowidget.h index 53982a1..61556c6 100644 --- a/noncore/multimedia/opieplayer2/audiowidget.h +++ b/noncore/multimedia/opieplayer2/audiowidget.h | |||
@@ -47,48 +47,50 @@ | |||
47 | 47 | ||
48 | #include "mediawidget.h" | 48 | #include "mediawidget.h" |
49 | 49 | ||
50 | class QPixmap; | 50 | class QPixmap; |
51 | 51 | ||
52 | class AudioWidget : public MediaWidget { | 52 | class AudioWidget : public MediaWidget { |
53 | Q_OBJECT | 53 | Q_OBJECT |
54 | public: | 54 | public: |
55 | AudioWidget( PlayListWidget &playList, MediaPlayerState &mediaPlayerState, QWidget* parent=0, const char* name=0 ); | 55 | AudioWidget( PlayListWidget &playList, MediaPlayerState &mediaPlayerState, QWidget* parent=0, const char* name=0 ); |
56 | ~AudioWidget(); | 56 | ~AudioWidget(); |
57 | void setTickerText( const QString &text ) { songInfo.setText( text ); } | 57 | void setTickerText( const QString &text ) { songInfo.setText( text ); } |
58 | public slots: | 58 | public slots: |
59 | void updateSlider( long, long ); | 59 | void updateSlider( long, long ); |
60 | void sliderPressed( ); | 60 | void sliderPressed( ); |
61 | void sliderReleased( ); | 61 | void sliderReleased( ); |
62 | void setLooping( bool b) { setToggleButton( Loop, b ); } | 62 | void setLooping( bool b) { setToggleButton( Loop, b ); } |
63 | void setPosition( long ); | 63 | void setPosition( long ); |
64 | void setSeekable( bool ); | 64 | void setSeekable( bool ); |
65 | 65 | ||
66 | public: | 66 | public: |
67 | virtual void setLength( long ); | 67 | virtual void setLength( long ); |
68 | virtual void setPlaying( bool b) { setToggleButton( Play, b ); } | 68 | virtual void setPlaying( bool b) { setToggleButton( Play, b ); } |
69 | virtual void setDisplayType( MediaPlayerState::DisplayType displayType ); | 69 | virtual void setDisplayType( MediaPlayerState::DisplayType displayType ); |
70 | 70 | ||
71 | virtual void loadSkin(); | ||
72 | |||
71 | signals: | 73 | signals: |
72 | void sliderMoved(long); | 74 | void sliderMoved(long); |
73 | 75 | ||
74 | protected: | 76 | protected: |
75 | void doBlank(); | 77 | void doBlank(); |
76 | void doUnblank(); | 78 | void doUnblank(); |
77 | void resizeEvent( QResizeEvent *re ); | 79 | void resizeEvent( QResizeEvent *re ); |
78 | void timerEvent( QTimerEvent *event ); | 80 | void timerEvent( QTimerEvent *event ); |
79 | void keyReleaseEvent( QKeyEvent *e); | 81 | void keyReleaseEvent( QKeyEvent *e); |
80 | private slots: | 82 | private slots: |
81 | void skipFor(); | 83 | void skipFor(); |
82 | void skipBack(); | 84 | void skipBack(); |
83 | void stopSkip(); | 85 | void stopSkip(); |
84 | private: | 86 | private: |
85 | int skipDirection; | 87 | int skipDirection; |
86 | QString skin; | 88 | QString skin; |
87 | QImage imgUp; | 89 | QImage imgUp; |
88 | QImage imgDn; | 90 | QImage imgDn; |
89 | 91 | ||
90 | OTicker songInfo; | 92 | OTicker songInfo; |
91 | QSlider slider; | 93 | QSlider slider; |
92 | QLineEdit time; | 94 | QLineEdit time; |
93 | bool isStreaming : 1; | 95 | bool isStreaming : 1; |
94 | bool audioSliderBeingMoved : 1; | 96 | bool audioSliderBeingMoved : 1; |