summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/audiowidget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.h b/noncore/multimedia/opieplayer2/audiowidget.h
index 3ebec5b..9bc924d 100644
--- a/noncore/multimedia/opieplayer2/audiowidget.h
+++ b/noncore/multimedia/opieplayer2/audiowidget.h
@@ -29,49 +29,49 @@ enum AudioButtons {
29 29
30 30
31class Ticker : public QFrame { 31class Ticker : public QFrame {
32 Q_OBJECT 32 Q_OBJECT
33 33
34public: 34public:
35 Ticker( QWidget* parent=0 ); 35 Ticker( QWidget* parent=0 );
36 ~Ticker(); 36 ~Ticker();
37 void setText( const QString& text ) ; 37 void setText( const QString& text ) ;
38 38
39protected: 39protected:
40 void timerEvent( QTimerEvent * ); 40 void timerEvent( QTimerEvent * );
41 void drawContents( QPainter *p ); 41 void drawContents( QPainter *p );
42private: 42private:
43 QString scrollText; 43 QString scrollText;
44 int pos, pixelLen; 44 int pos, pixelLen;
45}; 45};
46 46
47 47
48class AudioWidget : public QWidget { 48class AudioWidget : public QWidget {
49 Q_OBJECT 49 Q_OBJECT
50public: 50public:
51 AudioWidget( QWidget* parent=0, const char* name=0, WFlags f=0 ); 51 AudioWidget( QWidget* parent=0, const char* name=0, WFlags f=0 );
52 ~AudioWidget(); 52 ~AudioWidget();
53 void setTickerText( const QString &text ) { songInfo->setText( text ); } 53 void setTickerText( const QString &text ) { songInfo.setText( text ); }
54 bool isStreaming; 54 bool isStreaming;
55public slots: 55public slots:
56 void updateSlider( long, long ); 56 void updateSlider( long, long );
57 void sliderPressed( ); 57 void sliderPressed( );
58 void sliderReleased( ); 58 void sliderReleased( );
59 void setPaused( bool b) { setToggleButton( AudioPause, b ); } 59 void setPaused( bool b) { setToggleButton( AudioPause, b ); }
60 void setLooping( bool b) { setToggleButton( AudioLoop, b ); } 60 void setLooping( bool b) { setToggleButton( AudioLoop, b ); }
61 void setPlaying( bool b) { setToggleButton( AudioPlay, b ); } 61 void setPlaying( bool b) { setToggleButton( AudioPlay, b ); }
62 void setPosition( long ); 62 void setPosition( long );
63 void setLength( long ); 63 void setLength( long );
64 void setView( char ); 64 void setView( char );
65 65
66signals: 66signals:
67 void moreClicked(); 67 void moreClicked();
68 void lessClicked(); 68 void lessClicked();
69 void moreReleased(); 69 void moreReleased();
70 void lessReleased(); 70 void lessReleased();
71 void sliderMoved(long); 71 void sliderMoved(long);
72 72
73protected: 73protected:
74 void doBlank(); 74 void doBlank();
75 void doUnblank(); 75 void doUnblank();
76 void paintEvent( QPaintEvent *pe ); 76 void paintEvent( QPaintEvent *pe );
77 void showEvent( QShowEvent *se ); 77 void showEvent( QShowEvent *se );