Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
4704ae3f
Commit
4704ae3f
authored
Jan 08, 2010
by
Francois Cartegnie
Committed by
Rémi Denis-Courmont
Jan 10, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: rename slots to explicit names
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
18addd46
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
modules/gui/qt4/components/controller_widget.cpp
modules/gui/qt4/components/controller_widget.cpp
+5
-5
modules/gui/qt4/components/controller_widget.hpp
modules/gui/qt4/components/controller_widget.hpp
+2
-2
No files found.
modules/gui/qt4/components/controller_widget.cpp
View file @
4704ae3f
...
@@ -115,12 +115,12 @@ SoundWidget::SoundWidget( QWidget *_parent, intf_thread_t * _p_intf,
...
@@ -115,12 +115,12 @@ SoundWidget::SoundWidget( QWidget *_parent, intf_thread_t * _p_intf,
VOLUME_MAX
/
(
AOUT_VOLUME_MAX
/
2
)
)
);
VOLUME_MAX
/
(
AOUT_VOLUME_MAX
/
2
)
)
);
/* Force the update at build time in order to have a muted icon if needed */
/* Force the update at build time in order to have a muted icon if needed */
updateVolume
(
volumeSlider
->
value
()
);
u
serU
pdateVolume
(
volumeSlider
->
value
()
);
/* Volume control connection */
/* Volume control connection */
CONNECT
(
volumeSlider
,
valueChanged
(
int
),
this
,
refreshLabels
(
void
)
);
CONNECT
(
volumeSlider
,
valueChanged
(
int
),
this
,
refreshLabels
(
void
)
);
CONNECT
(
volumeSlider
,
sliderMoved
(
int
),
this
,
updateVolume
(
int
)
);
CONNECT
(
volumeSlider
,
sliderMoved
(
int
),
this
,
u
serU
pdateVolume
(
int
)
);
CONNECT
(
THEMIM
,
volumeChanged
(
void
),
this
,
u
pdateVolume
(
void
)
);
CONNECT
(
THEMIM
,
volumeChanged
(
void
),
this
,
libU
pdateVolume
(
void
)
);
CONNECT
(
THEMIM
,
soundMuteChanged
(
void
),
this
,
updateMuteStatus
(
void
)
);
CONNECT
(
THEMIM
,
soundMuteChanged
(
void
),
this
,
updateMuteStatus
(
void
)
);
}
}
...
@@ -150,7 +150,7 @@ void SoundWidget::refreshLabels()
...
@@ -150,7 +150,7 @@ void SoundWidget::refreshLabels()
}
}
/* volumeSlider changed value event slot */
/* volumeSlider changed value event slot */
void
SoundWidget
::
updateVolume
(
int
i_sliderVolume
)
void
SoundWidget
::
u
serU
pdateVolume
(
int
i_sliderVolume
)
{
{
/* Only if volume is set by user action on slider */
/* Only if volume is set by user action on slider */
setMuted
(
false
);
setMuted
(
false
);
...
@@ -161,7 +161,7 @@ void SoundWidget::updateVolume( int i_sliderVolume )
...
@@ -161,7 +161,7 @@ void SoundWidget::updateVolume( int i_sliderVolume )
}
}
/* libvlc changed value event slot */
/* libvlc changed value event slot */
void
SoundWidget
::
u
pdateVolume
()
void
SoundWidget
::
libU
pdateVolume
()
{
{
/* Audio part */
/* Audio part */
audio_volume_t
i_volume
;
audio_volume_t
i_volume
;
...
...
modules/gui/qt4/components/controller_widget.hpp
View file @
4704ae3f
...
@@ -88,8 +88,8 @@ private:
...
@@ -88,8 +88,8 @@ private:
bool
b_is_muted
;
bool
b_is_muted
;
protected
slots
:
protected
slots
:
void
updateVolume
(
int
);
void
u
serU
pdateVolume
(
int
);
void
u
pdateVolume
(
void
);
void
libU
pdateVolume
(
void
);
void
updateMuteStatus
(
void
);
void
updateMuteStatus
(
void
);
void
refreshLabels
(
void
);
void
refreshLabels
(
void
);
void
showVolumeMenu
(
QPoint
pos
);
void
showVolumeMenu
(
QPoint
pos
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment