Diffstat (limited to 'noncore/multimedia/opieplayer2/audiowidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/audiowidget.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.h b/noncore/multimedia/opieplayer2/audiowidget.h index c544882..09dc19b 100644 --- a/noncore/multimedia/opieplayer2/audiowidget.h +++ b/noncore/multimedia/opieplayer2/audiowidget.h | |||
@@ -73,48 +73,49 @@ public: | |||
73 | protected: | 73 | protected: |
74 | void timerEvent( QTimerEvent * ); | 74 | void timerEvent( QTimerEvent * ); |
75 | void drawContents( QPainter *p ); | 75 | void drawContents( QPainter *p ); |
76 | private: | 76 | private: |
77 | QString scrollText; | 77 | QString scrollText; |
78 | int pos, pixelLen; | 78 | int pos, pixelLen; |
79 | }; | 79 | }; |
80 | 80 | ||
81 | 81 | ||
82 | class AudioWidget : public QWidget { | 82 | class AudioWidget : public QWidget { |
83 | Q_OBJECT | 83 | Q_OBJECT |
84 | public: | 84 | public: |
85 | AudioWidget( QWidget* parent=0, const char* name=0, WFlags f=0 ); | 85 | AudioWidget( QWidget* parent=0, const char* name=0, WFlags f=0 ); |
86 | ~AudioWidget(); | 86 | ~AudioWidget(); |
87 | void setTickerText( const QString &text ) { songInfo.setText( text ); } | 87 | void setTickerText( const QString &text ) { songInfo.setText( text ); } |
88 | public slots: | 88 | public slots: |
89 | void updateSlider( long, long ); | 89 | void updateSlider( long, long ); |
90 | void sliderPressed( ); | 90 | void sliderPressed( ); |
91 | void sliderReleased( ); | 91 | void sliderReleased( ); |
92 | // void setPaused( bool b) { setToggleButton( AudioPause, b ); } | 92 | // void setPaused( bool b) { setToggleButton( AudioPause, b ); } |
93 | void setLooping( bool b) { setToggleButton( AudioLoop, b ); } | 93 | void setLooping( bool b) { setToggleButton( AudioLoop, b ); } |
94 | void setPlaying( bool b) { setToggleButton( AudioPlay, b ); } | 94 | void setPlaying( bool b) { setToggleButton( AudioPlay, b ); } |
95 | void setPosition( long ); | 95 | void setPosition( long ); |
96 | void setLength( long ); | 96 | void setLength( long ); |
97 | void setSeekable( bool ); | ||
97 | void setView( char ); | 98 | void setView( char ); |
98 | 99 | ||
99 | signals: | 100 | signals: |
100 | void moreClicked(); | 101 | void moreClicked(); |
101 | void lessClicked(); | 102 | void lessClicked(); |
102 | void moreReleased(); | 103 | void moreReleased(); |
103 | void lessReleased(); | 104 | void lessReleased(); |
104 | void forwardClicked(); | 105 | void forwardClicked(); |
105 | void backClicked(); | 106 | void backClicked(); |
106 | void forwardReleased(); | 107 | void forwardReleased(); |
107 | void backReleased(); | 108 | void backReleased(); |
108 | void sliderMoved(long); | 109 | void sliderMoved(long); |
109 | 110 | ||
110 | protected: | 111 | protected: |
111 | void doBlank(); | 112 | void doBlank(); |
112 | void doUnblank(); | 113 | void doUnblank(); |
113 | void paintEvent( QPaintEvent *pe ); | 114 | void paintEvent( QPaintEvent *pe ); |
114 | void showEvent( QShowEvent *se ); | 115 | void showEvent( QShowEvent *se ); |
115 | void resizeEvent( QResizeEvent *re ); | 116 | void resizeEvent( QResizeEvent *re ); |
116 | void mouseMoveEvent( QMouseEvent *event ); | 117 | void mouseMoveEvent( QMouseEvent *event ); |
117 | void mousePressEvent( QMouseEvent *event ); | 118 | void mousePressEvent( QMouseEvent *event ); |
118 | void mouseReleaseEvent( QMouseEvent *event ); | 119 | void mouseReleaseEvent( QMouseEvent *event ); |
119 | void timerEvent( QTimerEvent *event ); | 120 | void timerEvent( QTimerEvent *event ); |
120 | void closeEvent( QCloseEvent *event ); | 121 | void closeEvent( QCloseEvent *event ); |