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 @@ -42,5 +42,5 @@ class QSlider; enum VideoButtons { - VideoStop, + VideoStop = 0, VideoPlay, // VideoPause, @@ -58,5 +58,5 @@ public: ~VideoWidget(); - bool playVideo(); + XineVideoWidget* vidWidget(); public slots: @@ -73,11 +73,16 @@ public slots: signals: + void moreClicked(); + void lessClicked(); + void moreReleased(); + void lessReleased(); void sliderMoved( long ); - void videoResized ( const QSize &s ); + void videoResized ( const QSize &s ); protected: - QString skin; + void resizeEvent( QResizeEvent * ); void paintEvent( QPaintEvent *pe ); + void showEvent( QShowEvent *se ); void mouseMoveEvent( QMouseEvent *event ); void mousePressEvent( QMouseEvent *event ); @@ -95,7 +100,8 @@ private: QPixmap *buttonPixUp[7]; QPixmap *buttonPixDown[7]; + QString skin; // QPixmap *pixmaps[4]; int xoff, yoff; - + void paintButton( QPainter *p, int i ); |