author | simon <simon> | 2002-12-11 17:34:19 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-11 17:34:19 (UTC) |
commit | aaac5c934e7053fa4323b03f7ea31c32c6388883 (patch) (unidiff) | |
tree | ad9eb3da0efebbb862cbd8063978186c5b9d8190 /noncore/multimedia/opieplayer2/videowidget.cpp | |
parent | 75f0ed4978579eb4b27cdece64c597741ed24b79 (diff) | |
download | opie-aaac5c934e7053fa4323b03f7ea31c32c6388883.zip opie-aaac5c934e7053fa4323b03f7ea31c32c6388883.tar.gz opie-aaac5c934e7053fa4323b03f7ea31c32c6388883.tar.bz2 |
- collect arguments passed to the skin loading into a structure
Diffstat (limited to 'noncore/multimedia/opieplayer2/videowidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/videowidget.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/noncore/multimedia/opieplayer2/videowidget.cpp b/noncore/multimedia/opieplayer2/videowidget.cpp index 058730f..2a345e3 100644 --- a/noncore/multimedia/opieplayer2/videowidget.cpp +++ b/noncore/multimedia/opieplayer2/videowidget.cpp | |||
@@ -99,14 +99,9 @@ VideoWidget::~VideoWidget() | |||
99 | { | 99 | { |
100 | } | 100 | } |
101 | 101 | ||
102 | const MediaWidget::SkinButtonInfo *VideoWidget::skinInfo() | 102 | MediaWidget::GUIInfo VideoWidget::guiInfo() |
103 | { | 103 | { |
104 | return ::skinInfo; | 104 | return GUIInfo( "V" /* infix */, ::skinInfo, ::buttonCount ); |
105 | } | ||
106 | |||
107 | const uint VideoWidget::buttonCount() | ||
108 | { | ||
109 | return ::buttonCount; | ||
110 | } | 105 | } |
111 | 106 | ||
112 | void VideoWidget::resizeEvent( QResizeEvent *e ) { | 107 | void VideoWidget::resizeEvent( QResizeEvent *e ) { |
@@ -167,7 +162,7 @@ void VideoWidget::setDisplayType( MediaPlayerState::DisplayType displayType ) | |||
167 | 162 | ||
168 | void VideoWidget::loadSkin() | 163 | void VideoWidget::loadSkin() |
169 | { | 164 | { |
170 | loadDefaultSkin( ::skinInfo, ::buttonCount, "V" ); | 165 | loadDefaultSkin( guiInfo() ); |
171 | 166 | ||
172 | setBackgroundPixmap( backgroundPixmap ); | 167 | setBackgroundPixmap( backgroundPixmap ); |
173 | 168 | ||