Diffstat (limited to 'noncore/multimedia/opieplayer2/audiowidget.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/audiowidget.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.cpp b/noncore/multimedia/opieplayer2/audiowidget.cpp index 78079dd..4db444a 100644 --- a/noncore/multimedia/opieplayer2/audiowidget.cpp +++ b/noncore/multimedia/opieplayer2/audiowidget.cpp | |||
@@ -111,6 +111,16 @@ AudioWidget::~AudioWidget() { | |||
111 | // mediaPlayerState->setPlaying(false); | 111 | // mediaPlayerState->setPlaying(false); |
112 | } | 112 | } |
113 | 113 | ||
114 | const MediaWidget::SkinButtonInfo *AudioWidget::skinInfo() | ||
115 | { | ||
116 | return ::skinInfo; | ||
117 | } | ||
118 | |||
119 | const uint AudioWidget::buttonCount() | ||
120 | { | ||
121 | return ::buttonCount; | ||
122 | } | ||
123 | |||
114 | void AudioWidget::resizeEvent( QResizeEvent *e ) { | 124 | void AudioWidget::resizeEvent( QResizeEvent *e ) { |
115 | int h = height(); | 125 | int h = height(); |
116 | int w = width(); | 126 | int w = width(); |
@@ -164,7 +174,7 @@ void AudioWidget::setDisplayType( MediaPlayerState::DisplayType mediaType ) { | |||
164 | 174 | ||
165 | void AudioWidget::loadSkin() | 175 | void AudioWidget::loadSkin() |
166 | { | 176 | { |
167 | loadDefaultSkin( skinInfo, buttonCount ); | 177 | loadDefaultSkin( ::skinInfo, ::buttonCount ); |
168 | 178 | ||
169 | setBackgroundPixmap( backgroundPixmap ); | 179 | setBackgroundPixmap( backgroundPixmap ); |
170 | 180 | ||