author | llornkcor <llornkcor> | 2002-03-18 01:50:17 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-03-18 01:50:17 (UTC) |
commit | c09cb25eb6bbf31bed0d4a415802469cfd1efedf (patch) (unidiff) | |
tree | 86ced0fa482bd5fb244629f2baa1b1a4f25c9189 /core/multimedia/opieplayer/audiowidget.h | |
parent | 848182342d81b4e6ab4ce6b75bdaa0b109828af3 (diff) | |
download | opie-c09cb25eb6bbf31bed0d4a415802469cfd1efedf.zip opie-c09cb25eb6bbf31bed0d4a415802469cfd1efedf.tar.gz opie-c09cb25eb6bbf31bed0d4a415802469cfd1efedf.tar.bz2 |
added stuff and fixed stuff that I dont remember- plays w/o going to playlist among other things
Diffstat (limited to 'core/multimedia/opieplayer/audiowidget.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/audiowidget.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/multimedia/opieplayer/audiowidget.h b/core/multimedia/opieplayer/audiowidget.h index 53e84b3..a2850aa 100644 --- a/core/multimedia/opieplayer/audiowidget.h +++ b/core/multimedia/opieplayer/audiowidget.h | |||
@@ -107,37 +107,38 @@ public slots: | |||
107 | void sliderPressed( ); | 107 | void sliderPressed( ); |
108 | void sliderReleased( ); | 108 | void sliderReleased( ); |
109 | void setPaused( bool b) { setToggleButton( AudioPause, b ); } | 109 | void setPaused( bool b) { setToggleButton( AudioPause, b ); } |
110 | void setLooping( bool b) { setToggleButton( AudioLoop, b ); } | 110 | void setLooping( bool b) { setToggleButton( AudioLoop, b ); } |
111 | void setPlaying( bool b) { setToggleButton( AudioPlay, b ); } | 111 | void setPlaying( bool b) { setToggleButton( AudioPlay, b ); } |
112 | void setPosition( long ); | 112 | void setPosition( long ); |
113 | void setLength( long ); | 113 | void setLength( long ); |
114 | void setView( char ); | 114 | void setView( char ); |
115 | 115 | ||
116 | signals: | 116 | signals: |
117 | void moreClicked(); | 117 | void moreClicked(); |
118 | void lessClicked(); | 118 | void lessClicked(); |
119 | void moreReleased(); | 119 | void moreReleased(); |
120 | void lessReleased(); | 120 | void lessReleased(); |
121 | void sliderMoved(long); | 121 | void sliderMoved(long); |
122 | 122 | ||
123 | protected: | 123 | protected: |
124 | void paintEvent( QPaintEvent *pe ); | 124 | void paintEvent( QPaintEvent *pe ); |
125 | void showEvent( QShowEvent *se ); | 125 | void showEvent( QShowEvent *se ); |
126 | void mouseMoveEvent( QMouseEvent *event ); | 126 | void mouseMoveEvent( QMouseEvent *event ); |
127 | void mousePressEvent( QMouseEvent *event ); | 127 | void mousePressEvent( QMouseEvent *event ); |
128 | void mouseReleaseEvent( QMouseEvent *event ); | 128 | void mouseReleaseEvent( QMouseEvent *event ); |
129 | void timerEvent( QTimerEvent *event ); | 129 | void timerEvent( QTimerEvent *event ); |
130 | void closeEvent( QCloseEvent *event ); | 130 | void closeEvent( QCloseEvent *event ); |
131 | void keyReleaseEvent( QKeyEvent *e); | ||
131 | 132 | ||
132 | private: | 133 | private: |
133 | void toggleButton( int ); | 134 | void toggleButton( int ); |
134 | void setToggleButton( int, bool ); | 135 | void setToggleButton( int, bool ); |
135 | void paintButton( QPainter *p, int i ); | 136 | void paintButton( QPainter *p, int i ); |
136 | QPixmap *pixmaps[4]; | 137 | QPixmap *pixmaps[4]; |
137 | Ticker *songInfo; | 138 | Ticker *songInfo; |
138 | QSlider *slider; | 139 | QSlider *slider; |
139 | }; | 140 | }; |
140 | 141 | ||
141 | 142 | ||
142 | #endif // AUDIO_WIDGET_H | 143 | #endif // AUDIO_WIDGET_H |
143 | 144 | ||