Diffstat (limited to 'noncore/multimedia/opieplayer2/mediawidget.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/mediawidget.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/mediawidget.h b/noncore/multimedia/opieplayer2/mediawidget.h index 3f4c45d..c19fdbb 100644 --- a/noncore/multimedia/opieplayer2/mediawidget.h +++ b/noncore/multimedia/opieplayer2/mediawidget.h | |||
@@ -68,30 +68,36 @@ public: | |||
68 | virtual ~MediaWidget(); | 68 | virtual ~MediaWidget(); |
69 | 69 | ||
70 | public slots: | 70 | public slots: |
71 | virtual void setDisplayType( MediaPlayerState::DisplayType displayType ) = 0; | 71 | virtual void setDisplayType( MediaPlayerState::DisplayType displayType ) = 0; |
72 | virtual void setLength( long length ) = 0; | 72 | virtual void setLength( long length ) = 0; |
73 | virtual void setPlaying( bool playing ) = 0; | 73 | virtual void setPlaying( bool playing ) = 0; |
74 | 74 | ||
75 | signals: | 75 | signals: |
76 | void moreReleased(); | 76 | void moreReleased(); |
77 | void lessReleased(); | 77 | void lessReleased(); |
78 | void forwardReleased(); | 78 | void forwardReleased(); |
79 | void backReleased(); | 79 | void backReleased(); |
80 | void forwardClicked(); | ||
81 | void backClicked(); | ||
82 | void moreClicked(); | ||
83 | void lessClicked(); | ||
80 | 84 | ||
81 | protected: | 85 | protected: |
82 | virtual void closeEvent( QCloseEvent * ); | 86 | virtual void closeEvent( QCloseEvent * ); |
83 | 87 | ||
84 | virtual void paintEvent( QPaintEvent *pe ); | 88 | virtual void paintEvent( QPaintEvent *pe ); |
85 | 89 | ||
90 | virtual void mouseMoveEvent( QMouseEvent *event ); | ||
91 | |||
86 | virtual void makeVisible(); | 92 | virtual void makeVisible(); |
87 | 93 | ||
88 | void handleCommand( Command command, bool buttonDown ); | 94 | void handleCommand( Command command, bool buttonDown ); |
89 | 95 | ||
90 | bool isOverButton( const QPoint &position, int buttonId ) const; | 96 | bool isOverButton( const QPoint &position, int buttonId ) const; |
91 | 97 | ||
92 | void paintAllButtons( QPainter &p ); | 98 | void paintAllButtons( QPainter &p ); |
93 | void paintButton( const Button &button ); | 99 | void paintButton( const Button &button ); |
94 | void paintButton( QPainter &p, const Button &button ); | 100 | void paintButton( QPainter &p, const Button &button ); |
95 | 101 | ||
96 | void setToggleButton( Button &button, bool down ); | 102 | void setToggleButton( Button &button, bool down ); |
97 | void setToggleButton( Command command, bool down ); | 103 | void setToggleButton( Command command, bool down ); |