Diffstat (limited to 'noncore/multimedia/opieplayer2/mediawidget.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/mediawidget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/mediawidget.h b/noncore/multimedia/opieplayer2/mediawidget.h index 066d2ac..46c304d 100644 --- a/noncore/multimedia/opieplayer2/mediawidget.h +++ b/noncore/multimedia/opieplayer2/mediawidget.h | |||
@@ -61,24 +61,26 @@ signals: | |||
61 | void backReleased(); | 61 | void backReleased(); |
62 | 62 | ||
63 | protected: | 63 | protected: |
64 | virtual void closeEvent( QCloseEvent * ); | 64 | virtual void closeEvent( QCloseEvent * ); |
65 | 65 | ||
66 | void handleCommand( Command command, bool buttonDown ); | 66 | void handleCommand( Command command, bool buttonDown ); |
67 | 67 | ||
68 | bool isOverButton( const QPoint &position, int buttonId ) const; | 68 | bool isOverButton( const QPoint &position, int buttonId ) const; |
69 | 69 | ||
70 | void paintButton( int buttonId ); | 70 | void paintButton( int buttonId ); |
71 | virtual void paintButton( QPainter &p, int i ) = 0; | 71 | virtual void paintButton( QPainter &p, int i ) = 0; |
72 | 72 | ||
73 | void toggleButton( int buttonId ); | ||
74 | |||
73 | MediaPlayerState &mediaPlayerState; | 75 | MediaPlayerState &mediaPlayerState; |
74 | PlayListWidget &playList; | 76 | PlayListWidget &playList; |
75 | 77 | ||
76 | ButtonVector buttons; | 78 | ButtonVector buttons; |
77 | 79 | ||
78 | QImage buttonMask; | 80 | QImage buttonMask; |
79 | 81 | ||
80 | QPoint upperLeftOfButtonMask; | 82 | QPoint upperLeftOfButtonMask; |
81 | }; | 83 | }; |
82 | 84 | ||
83 | #endif // MEDIAWIDGET_H | 85 | #endif // MEDIAWIDGET_H |
84 | /* vim: et sw=4 ts=4 | 86 | /* vim: et sw=4 ts=4 |