author | simon <simon> | 2002-12-11 17:16:17 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-11 17:16:17 (UTC) |
commit | 94461696cfdcf8cdbaabec1400300e546edc447e (patch) (unidiff) | |
tree | bacef808031edb254214d04489d4a8e4df53cdb9 /noncore/multimedia/opieplayer2/videowidget.cpp | |
parent | 9f5e007f4859027eaeb989c620ec62fc698b44cc (diff) | |
download | opie-94461696cfdcf8cdbaabec1400300e546edc447e.zip opie-94461696cfdcf8cdbaabec1400300e546edc447e.tar.gz opie-94461696cfdcf8cdbaabec1400300e546edc447e.tar.bz2 |
- expose information about the buttons
Diffstat (limited to 'noncore/multimedia/opieplayer2/videowidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/videowidget.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/videowidget.cpp b/noncore/multimedia/opieplayer2/videowidget.cpp index a8ff540..058730f 100644 --- a/noncore/multimedia/opieplayer2/videowidget.cpp +++ b/noncore/multimedia/opieplayer2/videowidget.cpp | |||
@@ -100,4 +100,14 @@ VideoWidget::~VideoWidget() | |||
100 | } | 100 | } |
101 | 101 | ||
102 | const MediaWidget::SkinButtonInfo *VideoWidget::skinInfo() | ||
103 | { | ||
104 | return ::skinInfo; | ||
105 | } | ||
106 | |||
107 | const uint VideoWidget::buttonCount() | ||
108 | { | ||
109 | return ::buttonCount; | ||
110 | } | ||
111 | |||
102 | void VideoWidget::resizeEvent( QResizeEvent *e ) { | 112 | void VideoWidget::resizeEvent( QResizeEvent *e ) { |
103 | int h = height(); | 113 | int h = height(); |
@@ -158,5 +168,5 @@ void VideoWidget::setDisplayType( MediaPlayerState::DisplayType displayType ) | |||
158 | void VideoWidget::loadSkin() | 168 | void VideoWidget::loadSkin() |
159 | { | 169 | { |
160 | loadDefaultSkin( skinInfo, buttonCount, "V" ); | 170 | loadDefaultSkin( ::skinInfo, ::buttonCount, "V" ); |
161 | 171 | ||
162 | setBackgroundPixmap( backgroundPixmap ); | 172 | setBackgroundPixmap( backgroundPixmap ); |