]> git.sesse.net Git - vlc/commitdiff
Qt: rename slots to explicit names
authorFrancois Cartegnie <fcvlcdev@free.fr>
Thu, 7 Jan 2010 23:02:14 +0000 (00:02 +0100)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 10 Jan 2010 13:43:16 +0000 (15:43 +0200)
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
modules/gui/qt4/components/controller_widget.cpp
modules/gui/qt4/components/controller_widget.hpp

index 8775fe42db3904daf0f6ffe052c7b7fc645b700e..7aac19d41e1b786038ae760d3f3678e177daa272 100644 (file)
@@ -115,12 +115,12 @@ SoundWidget::SoundWidget( QWidget *_parent, intf_thread_t * _p_intf,
                               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 ) );
 }
 
@@ -150,7 +150,7 @@ void SoundWidget::refreshLabels()
 }
 
 /* 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 );
@@ -161,7 +161,7 @@ void SoundWidget::updateVolume( int i_sliderVolume )
 }
 
 /* libvlc changed value event slot */
-void SoundWidget::updateVolume()
+void SoundWidget::libUpdateVolume()
 {
     /* Audio part */
     audio_volume_t i_volume;
index 71864e90e41a56246c45db67384e7e648bb11196..5727da3cb1d03161e58855b17332ca57be33149a 100644 (file)
@@ -88,8 +88,8 @@ private:
     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 );