Diffstat (limited to 'noncore/multimedia/opieplayer2/videowidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/videowidget.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/noncore/multimedia/opieplayer2/videowidget.h b/noncore/multimedia/opieplayer2/videowidget.h index 92193a4..710ba9e 100644 --- a/noncore/multimedia/opieplayer2/videowidget.h +++ b/noncore/multimedia/opieplayer2/videowidget.h | |||
@@ -41,7 +41,7 @@ class QPixmap; | |||
41 | class QSlider; | 41 | class QSlider; |
42 | 42 | ||
43 | enum VideoButtons { | 43 | enum VideoButtons { |
44 | VideoStop, | 44 | VideoStop = 0, |
45 | VideoPlay, | 45 | VideoPlay, |
46 | // VideoPause, | 46 | // VideoPause, |
47 | VideoPrevious, | 47 | VideoPrevious, |
@@ -57,7 +57,7 @@ public: | |||
57 | VideoWidget( QWidget* parent=0, const char* name=0, WFlags f=0 ); | 57 | VideoWidget( QWidget* parent=0, const char* name=0, WFlags f=0 ); |
58 | ~VideoWidget(); | 58 | ~VideoWidget(); |
59 | 59 | ||
60 | bool playVideo(); | 60 | |
61 | XineVideoWidget* vidWidget(); | 61 | XineVideoWidget* vidWidget(); |
62 | public slots: | 62 | public slots: |
63 | void updateSlider( long, long ); | 63 | void updateSlider( long, long ); |
@@ -72,13 +72,18 @@ public slots: | |||
72 | void setView( char ); | 72 | void setView( char ); |
73 | 73 | ||
74 | signals: | 74 | signals: |
75 | void moreClicked(); | ||
76 | void lessClicked(); | ||
77 | void moreReleased(); | ||
78 | void lessReleased(); | ||
75 | void sliderMoved( long ); | 79 | void sliderMoved( long ); |
76 | void videoResized ( const QSize &s ); | 80 | void videoResized ( const QSize &s ); |
77 | 81 | ||
78 | protected: | 82 | protected: |
79 | QString skin; | 83 | |
80 | void resizeEvent( QResizeEvent * ); | 84 | void resizeEvent( QResizeEvent * ); |
81 | void paintEvent( QPaintEvent *pe ); | 85 | void paintEvent( QPaintEvent *pe ); |
86 | void showEvent( QShowEvent *se ); | ||
82 | void mouseMoveEvent( QMouseEvent *event ); | 87 | void mouseMoveEvent( QMouseEvent *event ); |
83 | void mousePressEvent( QMouseEvent *event ); | 88 | void mousePressEvent( QMouseEvent *event ); |
84 | void mouseReleaseEvent( QMouseEvent *event ); | 89 | void mouseReleaseEvent( QMouseEvent *event ); |
@@ -94,9 +99,10 @@ private: | |||
94 | QBitmap *masks[7]; | 99 | QBitmap *masks[7]; |
95 | QPixmap *buttonPixUp[7]; | 100 | QPixmap *buttonPixUp[7]; |
96 | QPixmap *buttonPixDown[7]; | 101 | QPixmap *buttonPixDown[7]; |
102 | QString skin; | ||
97 | // QPixmap *pixmaps[4]; | 103 | // QPixmap *pixmaps[4]; |
98 | int xoff, yoff; | 104 | int xoff, yoff; |
99 | 105 | ||
100 | 106 | ||
101 | void paintButton( QPainter *p, int i ); | 107 | void paintButton( QPainter *p, int i ); |
102 | void toggleButton( int ); | 108 | void toggleButton( int ); |