author | simon <simon> | 2002-12-09 15:31:35 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-09 15:31:35 (UTC) |
commit | 159a3334ecd168f422afe81853998373457fefa0 (patch) (side-by-side diff) | |
tree | 2672138cdabca5b73f3828d3b88b31bb1b280c67 /noncore/multimedia/opieplayer2/mediawidget.h | |
parent | ab22599627d84a6c6427d2440da4271b48f47c8e (diff) | |
download | opie-159a3334ecd168f422afe81853998373457fefa0.zip opie-159a3334ecd168f422afe81853998373457fefa0.tar.gz opie-159a3334ecd168f422afe81853998373457fefa0.tar.bz2 |
- minor cleanup in paintEvent
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 dcf7fb8..34910fb 100644 --- a/noncore/multimedia/opieplayer2/mediawidget.h +++ b/noncore/multimedia/opieplayer2/mediawidget.h @@ -78,24 +78,25 @@ signals: void forwardReleased(); void backReleased(); protected: virtual void closeEvent( QCloseEvent * ); virtual void paintEvent( QPaintEvent *pe ); void handleCommand( Command command, bool buttonDown ); bool isOverButton( const QPoint &position, int buttonId ) const; + void paintAllButtons( QPainter &p ); void paintButton( const Button &button ); void paintButton( QPainter &p, const Button &button ); void toggleButton( int buttonId ); MediaPlayerState &mediaPlayerState; PlayListWidget &playList; ButtonMap buttons; QImage buttonMask; |