equal
deleted
inserted
replaced
228 break; |
228 break; |
229 } |
229 } |
230 |
230 |
231 } |
231 } |
232 |
232 |
|
233 |
|
234 /*! |
|
235 @proto |
|
236 |
|
237 Mutes or unmutes the volume output. |
|
238 \sa isMuted() |
|
239 */ |
|
240 |
|
241 |
|
242 void HbVolumeSliderPopup::setMuted( bool mute ) |
|
243 { |
|
244 Q_D( const HbVolumeSliderPopup ); |
|
245 if( d->slider ) { |
|
246 HbVolumeSlider* volumeslider = static_cast<HbVolumeSlider *>( d->slider ); |
|
247 volumeslider->setIconChecked( mute ) ; |
|
248 } |
|
249 } |
|
250 |
|
251 /*! |
|
252 @proto |
|
253 Returns whether volume is muted or unmuted. |
|
254 |
|
255 \sa setMute() |
|
256 */ |
|
257 |
|
258 bool HbVolumeSliderPopup::isMuted( ) const |
|
259 { |
|
260 return( value( ) == minimum( ) ? true: false ); |
|
261 } |
|
262 |
|
263 |
233 /*! |
264 /*! |
234 \reimp |
265 \reimp |
235 Reimplemented from QGraphicsItem::keyPressEvent(). |
266 Reimplemented from QGraphicsItem::keyPressEvent(). |
236 */ |
267 */ |
237 void HbVolumeSliderPopup::keyPressEvent(QKeyEvent *keyevent) |
268 void HbVolumeSliderPopup::keyPressEvent(QKeyEvent *keyevent) |