Diffstat (limited to 'noncore/multimedia/opieplayer2/audiowidget.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/audiowidget.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.h b/noncore/multimedia/opieplayer2/audiowidget.h index 09dc19b..bcd941e 100644 --- a/noncore/multimedia/opieplayer2/audiowidget.h +++ b/noncore/multimedia/opieplayer2/audiowidget.h | |||
@@ -68,49 +68,48 @@ class Ticker : public QFrame { | |||
68 | public: | 68 | public: |
69 | Ticker( QWidget* parent=0 ); | 69 | Ticker( QWidget* parent=0 ); |
70 | ~Ticker(); | 70 | ~Ticker(); |
71 | void setText( const QString& text ) ; | 71 | void setText( const QString& text ) ; |
72 | 72 | ||
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 ); } | ||
93 | void setLooping( bool b) { setToggleButton( AudioLoop, b ); } | 92 | void setLooping( bool b) { setToggleButton( AudioLoop, b ); } |
94 | void setPlaying( bool b) { setToggleButton( AudioPlay, b ); } | 93 | void setPlaying( bool b) { setToggleButton( AudioPlay, b ); } |
95 | void setPosition( long ); | 94 | void setPosition( long ); |
96 | void setLength( long ); | 95 | void setLength( long ); |
97 | void setSeekable( bool ); | 96 | void setSeekable( bool ); |
98 | void setView( char ); | 97 | void setView( char ); |
99 | 98 | ||
100 | signals: | 99 | signals: |
101 | void moreClicked(); | 100 | void moreClicked(); |
102 | void lessClicked(); | 101 | void lessClicked(); |
103 | void moreReleased(); | 102 | void moreReleased(); |
104 | void lessReleased(); | 103 | void lessReleased(); |
105 | void forwardClicked(); | 104 | void forwardClicked(); |
106 | void backClicked(); | 105 | void backClicked(); |
107 | void forwardReleased(); | 106 | void forwardReleased(); |
108 | void backReleased(); | 107 | void backReleased(); |
109 | void sliderMoved(long); | 108 | void sliderMoved(long); |
110 | 109 | ||
111 | protected: | 110 | protected: |
112 | void doBlank(); | 111 | void doBlank(); |
113 | void doUnblank(); | 112 | void doUnblank(); |
114 | void paintEvent( QPaintEvent *pe ); | 113 | void paintEvent( QPaintEvent *pe ); |
115 | void showEvent( QShowEvent *se ); | 114 | void showEvent( QShowEvent *se ); |
116 | void resizeEvent( QResizeEvent *re ); | 115 | void resizeEvent( QResizeEvent *re ); |