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 | |||
@@ -96,12 +96,22 @@ VideoWidget::VideoWidget( PlayListWidget &playList, MediaPlayerState &mediaPlaye | |||
96 | 96 | ||
97 | 97 | ||
98 | VideoWidget::~VideoWidget() | 98 | VideoWidget::~VideoWidget() |
99 | { | 99 | { |
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(); |
104 | int w = width(); | 114 | int w = width(); |
105 | //int Vh = 160; | 115 | //int Vh = 160; |
106 | //int Vw = 220; | 116 | //int Vw = 220; |
107 | 117 | ||
@@ -154,13 +164,13 @@ void VideoWidget::setDisplayType( MediaPlayerState::DisplayType displayType ) | |||
154 | scaledHeight = 0; | 164 | scaledHeight = 0; |
155 | hide(); | 165 | hide(); |
156 | } | 166 | } |
157 | 167 | ||
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 ); |
163 | 173 | ||
164 | delete slider; | 174 | delete slider; |
165 | slider = new QSlider( Qt::Horizontal, this ); | 175 | slider = new QSlider( Qt::Horizontal, this ); |
166 | slider->setMinValue( 0 ); | 176 | slider->setMinValue( 0 ); |