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 | |
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') (more/less context) (ignore whitespace changes)
-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() { | |||
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 ) { |
@@ -166,3 +176,3 @@ void AudioWidget::loadSkin() | |||
166 | { | 176 | { |
167 | loadDefaultSkin( skinInfo, buttonCount ); | 177 | loadDefaultSkin( ::skinInfo, ::buttonCount ); |
168 | 178 | ||
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: | |||
57 | void setTickerText( const QString &text ) { songInfo.setText( text ); } | 57 | void setTickerText( const QString &text ) { songInfo.setText( text ); } |
58 | |||
59 | static const MediaWidget::SkinButtonInfo *skinInfo(); | ||
60 | static const uint buttonCount(); | ||
61 | |||
58 | public slots: | 62 | 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() | |||
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 ) { |
@@ -159,3 +169,3 @@ void VideoWidget::loadSkin() | |||
159 | { | 169 | { |
160 | loadDefaultSkin( skinInfo, buttonCount, "V" ); | 170 | loadDefaultSkin( ::skinInfo, ::buttonCount, "V" ); |
161 | 171 | ||
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: | |||
52 | 52 | ||
53 | static const MediaWidget::SkinButtonInfo *skinInfo(); | ||
54 | static const uint buttonCount(); | ||
53 | 55 | ||