author | llornkcor <llornkcor> | 2003-04-20 04:09:51 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-04-20 04:09:51 (UTC) |
commit | 0bc47585aef17477ca5564dde4da4a41cf57a1c0 (patch) (unidiff) | |
tree | b425c7820c64c1673680b86a87932401a6e8f4a1 /core/multimedia/opieplayer/videowidget.h | |
parent | f4b192f79649abb3318c2c404da31f067f4ca467 (diff) | |
download | opie-0bc47585aef17477ca5564dde4da4a41cf57a1c0.zip opie-0bc47585aef17477ca5564dde4da4a41cf57a1c0.tar.gz opie-0bc47585aef17477ca5564dde4da4a41cf57a1c0.tar.bz2 |
buttons working
Diffstat (limited to 'core/multimedia/opieplayer/videowidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/videowidget.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/core/multimedia/opieplayer/videowidget.h b/core/multimedia/opieplayer/videowidget.h index fd86cd2..e9778f1 100644 --- a/core/multimedia/opieplayer/videowidget.h +++ b/core/multimedia/opieplayer/videowidget.h | |||
@@ -25,18 +25,20 @@ | |||
25 | 25 | ||
26 | class QPixmap; | 26 | class QPixmap; |
27 | class QSlider; | 27 | class QSlider; |
28 | 28 | ||
29 | 29 | ||
30 | enum VideoButtons { | 30 | enum VideoButtons { |
31 | VideoPrevious, | ||
32 | VideoStop, | 31 | VideoStop, |
33 | VideoPlay, | 32 | VideoPlay, |
34 | VideoPause, | 33 | // VideoPause, |
34 | VideoPrevious, | ||
35 | VideoNext, | 35 | VideoNext, |
36 | VideoPlayList, | 36 | VideoVolUp, |
37 | VideoVolDown, | ||
38 | // VideoPlayList, | ||
37 | VideoFullscreen | 39 | VideoFullscreen |
38 | }; | 40 | }; |
39 | 41 | ||
40 | class VideoWidget : public QWidget { | 42 | class VideoWidget : public QWidget { |
41 | Q_OBJECT | 43 | Q_OBJECT |
42 | public: | 44 | public: |
@@ -46,21 +48,25 @@ public: | |||
46 | bool playVideo(); | 48 | bool playVideo(); |
47 | 49 | ||
48 | public slots: | 50 | public slots: |
49 | void updateSlider( long, long ); | 51 | void updateSlider( long, long ); |
50 | void sliderPressed( ); | 52 | void sliderPressed( ); |
51 | void sliderReleased( ); | 53 | void sliderReleased( ); |
52 | void setPaused( bool b) { setToggleButton( VideoPause, b ); } | 54 | // void setPaused( bool b) { setToggleButton( VideoPause, b ); } |
53 | void setPlaying( bool b) { setToggleButton( VideoPlay, b ); } | 55 | void setPlaying( bool b) { setToggleButton( VideoPlay, b ); } |
54 | void setFullscreen( bool b ) { setToggleButton( VideoFullscreen, b ); } | 56 | void setFullscreen( bool b ) { setToggleButton( VideoFullscreen, b ); } |
55 | void makeVisible(); | 57 | void makeVisible(); |
56 | void setPosition( long ); | 58 | void setPosition( long ); |
57 | void setLength( long ); | 59 | void setLength( long ); |
58 | void setView( char ); | 60 | void setView( char ); |
59 | 61 | ||
60 | signals: | 62 | signals: |
63 | void moreClicked(); | ||
64 | void lessClicked(); | ||
65 | void moreReleased(); | ||
66 | void lessReleased(); | ||
61 | void sliderMoved( long ); | 67 | void sliderMoved( long ); |
62 | 68 | ||
63 | protected: | 69 | protected: |
64 | void resizeEvent( QResizeEvent * ); | 70 | void resizeEvent( QResizeEvent * ); |
65 | void paintEvent( QPaintEvent *pe ); | 71 | void paintEvent( QPaintEvent *pe ); |
66 | void mouseMoveEvent( QMouseEvent *event ); | 72 | void mouseMoveEvent( QMouseEvent *event ); |