-rw-r--r-- | noncore/multimedia/opieplayer2/audiowidget.cpp | 12 | ||||
-rw-r--r-- | noncore/multimedia/opieplayer2/audiowidget.h | 4 | ||||
-rw-r--r-- | noncore/multimedia/opieplayer2/videowidget.cpp | 12 | ||||
-rw-r--r-- | noncore/multimedia/opieplayer2/videowidget.h | 2 |
4 files changed, 28 insertions, 2 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 @@ -113,2 +113,12 @@ AudioWidget::~AudioWidget() { +const MediaWidget::SkinButtonInfo *AudioWidget::skinInfo() +{ + return ::skinInfo; +} + +const uint AudioWidget::buttonCount() +{ + return ::buttonCount; +} + void AudioWidget::resizeEvent( QResizeEvent *e ) { @@ -166,3 +176,3 @@ void AudioWidget::loadSkin() { - loadDefaultSkin( skinInfo, buttonCount ); + loadDefaultSkin( ::skinInfo, ::buttonCount ); diff --git a/noncore/multimedia/opieplayer2/audiowidget.h b/noncore/multimedia/opieplayer2/audiowidget.h index 670fb45..75d4857 100644 --- a/noncore/multimedia/opieplayer2/audiowidget.h +++ b/noncore/multimedia/opieplayer2/audiowidget.h @@ -57,2 +57,6 @@ public: void setTickerText( const QString &text ) { songInfo.setText( text ); } + + static const MediaWidget::SkinButtonInfo *skinInfo(); + static const uint buttonCount(); + public slots: 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 @@ -101,2 +101,12 @@ VideoWidget::~VideoWidget() +const MediaWidget::SkinButtonInfo *VideoWidget::skinInfo() +{ + return ::skinInfo; +} + +const uint VideoWidget::buttonCount() +{ + return ::buttonCount; +} + void VideoWidget::resizeEvent( QResizeEvent *e ) { @@ -159,3 +169,3 @@ void VideoWidget::loadSkin() { - loadDefaultSkin( skinInfo, buttonCount, "V" ); + loadDefaultSkin( ::skinInfo, ::buttonCount, "V" ); diff --git a/noncore/multimedia/opieplayer2/videowidget.h b/noncore/multimedia/opieplayer2/videowidget.h index f434945..80e9356 100644 --- a/noncore/multimedia/opieplayer2/videowidget.h +++ b/noncore/multimedia/opieplayer2/videowidget.h @@ -52,2 +52,4 @@ public: + static const MediaWidget::SkinButtonInfo *skinInfo(); + static const uint buttonCount(); |