VOLUME_MAX / (AOUT_VOLUME_MAX/2) ) );
/* Force the update at build time in order to have a muted icon if needed */
- updateVolume( volumeSlider->value() );
+ userUpdateVolume( volumeSlider->value() );
/* Volume control connection */
CONNECT( volumeSlider, valueChanged( int ), this, refreshLabels( void ) );
- CONNECT( volumeSlider, sliderMoved( int ), this, updateVolume( int ) );
- CONNECT( THEMIM, volumeChanged( void ), this, updateVolume( void ) );
+ CONNECT( volumeSlider, sliderMoved( int ), this, userUpdateVolume( int ) );
+ CONNECT( THEMIM, volumeChanged( void ), this, libUpdateVolume( void ) );
CONNECT( THEMIM, soundMuteChanged( void ), this, updateMuteStatus( void ) );
}
}
/* volumeSlider changed value event slot */
-void SoundWidget::updateVolume( int i_sliderVolume )
+void SoundWidget::userUpdateVolume( int i_sliderVolume )
{
/* Only if volume is set by user action on slider */
setMuted( false );
}
/* libvlc changed value event slot */
-void SoundWidget::updateVolume()
+void SoundWidget::libUpdateVolume()
{
/* Audio part */
audio_volume_t i_volume;
bool b_is_muted;
protected slots:
- void updateVolume( int );
- void updateVolume( void );
+ void userUpdateVolume( int );
+ void libUpdateVolume( void );
void updateMuteStatus( void );
void refreshLabels( void );
void showVolumeMenu( QPoint pos );