Diffstat (limited to 'noncore/multimedia/opieplayer2/mediawidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/mediawidget.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/mediawidget.h b/noncore/multimedia/opieplayer2/mediawidget.h index 3bf01b6..caae0a7 100644 --- a/noncore/multimedia/opieplayer2/mediawidget.h +++ b/noncore/multimedia/opieplayer2/mediawidget.h | |||
@@ -83,24 +83,25 @@ protected: | |||
83 | 83 | ||
84 | virtual void paintEvent( QPaintEvent *pe ); | 84 | virtual void paintEvent( QPaintEvent *pe ); |
85 | 85 | ||
86 | void handleCommand( Command command, bool buttonDown ); | 86 | void handleCommand( Command command, bool buttonDown ); |
87 | 87 | ||
88 | bool isOverButton( const QPoint &position, int buttonId ) const; | 88 | bool isOverButton( const QPoint &position, int buttonId ) const; |
89 | 89 | ||
90 | void paintAllButtons( QPainter &p ); | 90 | void paintAllButtons( QPainter &p ); |
91 | void paintButton( const Button &button ); | 91 | void paintButton( const Button &button ); |
92 | void paintButton( QPainter &p, const Button &button ); | 92 | void paintButton( QPainter &p, const Button &button ); |
93 | 93 | ||
94 | void setToggleButton( Button &button, bool down ); | 94 | void setToggleButton( Button &button, bool down ); |
95 | void setToggleButton( Command command, bool down ); | ||
95 | void toggleButton( Button &button ); | 96 | void toggleButton( Button &button ); |
96 | 97 | ||
97 | MediaPlayerState &mediaPlayerState; | 98 | MediaPlayerState &mediaPlayerState; |
98 | PlayListWidget &playList; | 99 | PlayListWidget &playList; |
99 | 100 | ||
100 | ButtonVector buttons; | 101 | ButtonVector buttons; |
101 | 102 | ||
102 | QImage buttonMask; | 103 | QImage buttonMask; |
103 | 104 | ||
104 | QPoint upperLeftOfButtonMask; | 105 | QPoint upperLeftOfButtonMask; |
105 | 106 | ||
106 | QPixmap backgroundPixmap; | 107 | QPixmap backgroundPixmap; |