author | simon <simon> | 2002-12-09 16:39:32 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-09 16:39:32 (UTC) |
commit | 1bb6aa52f2db85f65f75278310c328218caeae65 (patch) (unidiff) | |
tree | 1983547bac0da80bde93554038a57713feb715c1 /noncore/multimedia/opieplayer2/mediawidget.h | |
parent | 1ae041fba55e218a2523de441bec6ec3a1eecf02 (diff) | |
download | opie-1bb6aa52f2db85f65f75278310c328218caeae65.zip opie-1bb6aa52f2db85f65f75278310c328218caeae65.tar.gz opie-1bb6aa52f2db85f65f75278310c328218caeae65.tar.bz2 |
- removing duplicated code in VideoWidget
Diffstat (limited to 'noncore/multimedia/opieplayer2/mediawidget.h') (more/less context) (ignore 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 caae0a7..3f4c45d 100644 --- a/noncore/multimedia/opieplayer2/mediawidget.h +++ b/noncore/multimedia/opieplayer2/mediawidget.h | |||
@@ -74,24 +74,26 @@ public slots: | |||
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 | 80 | ||
81 | protected: | 81 | protected: |
82 | virtual void closeEvent( QCloseEvent * ); | 82 | virtual void closeEvent( QCloseEvent * ); |
83 | 83 | ||
84 | virtual void paintEvent( QPaintEvent *pe ); | 84 | virtual void paintEvent( QPaintEvent *pe ); |
85 | 85 | ||
86 | virtual void makeVisible(); | ||
87 | |||
86 | void handleCommand( Command command, bool buttonDown ); | 88 | void handleCommand( Command command, bool buttonDown ); |
87 | 89 | ||
88 | bool isOverButton( const QPoint &position, int buttonId ) const; | 90 | bool isOverButton( const QPoint &position, int buttonId ) const; |
89 | 91 | ||
90 | void paintAllButtons( QPainter &p ); | 92 | void paintAllButtons( QPainter &p ); |
91 | void paintButton( const Button &button ); | 93 | void paintButton( const Button &button ); |
92 | void paintButton( QPainter &p, const Button &button ); | 94 | void paintButton( QPainter &p, const Button &button ); |
93 | 95 | ||
94 | void setToggleButton( Button &button, bool down ); | 96 | void setToggleButton( Button &button, bool down ); |
95 | void setToggleButton( Command command, bool down ); | 97 | void setToggleButton( Command command, bool down ); |
96 | void toggleButton( Button &button ); | 98 | void toggleButton( Button &button ); |
97 | 99 | ||