summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/videowidget.cpp
authorsimon <simon>2002-12-11 17:34:19 (UTC)
committer simon <simon>2002-12-11 17:34:19 (UTC)
commitaaac5c934e7053fa4323b03f7ea31c32c6388883 (patch) (side-by-side diff)
treead9eb3da0efebbb862cbd8063978186c5b9d8190 /noncore/multimedia/opieplayer2/videowidget.cpp
parent75f0ed4978579eb4b27cdece64c597741ed24b79 (diff)
downloadopie-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.cpp11
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()
{
}
-const MediaWidget::SkinButtonInfo *VideoWidget::skinInfo()
+MediaWidget::GUIInfo VideoWidget::guiInfo()
{
- return ::skinInfo;
-}
-
-const uint VideoWidget::buttonCount()
-{
- return ::buttonCount;
+ return GUIInfo( "V" /* infix */, ::skinInfo, ::buttonCount );
}
void VideoWidget::resizeEvent( QResizeEvent *e ) {
@@ -167,7 +162,7 @@ void VideoWidget::setDisplayType( MediaPlayerState::DisplayType displayType )
void VideoWidget::loadSkin()
{
- loadDefaultSkin( ::skinInfo, ::buttonCount, "V" );
+ loadDefaultSkin( guiInfo() );
setBackgroundPixmap( backgroundPixmap );