Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
6bf1a3ba
Commit
6bf1a3ba
authored
Apr 21, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt, action_manager: provide skip fwd and bckwd actions
parent
508edcb6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
modules/gui/qt4/actions_manager.cpp
modules/gui/qt4/actions_manager.cpp
+12
-4
modules/gui/qt4/actions_manager.hpp
modules/gui/qt4/actions_manager.hpp
+2
-0
No files found.
modules/gui/qt4/actions_manager.cpp
View file @
6bf1a3ba
...
...
@@ -80,12 +80,10 @@ void ActionsManager::doAction( int id_action )
case
REVERSE_ACTION
:
THEMIM
->
getIM
()
->
reverse
();
break
;
case
SKIP_BACK_ACTION
:
var_SetInteger
(
p_intf
->
p_libvlc
,
"key-action"
,
ACTIONID_JUMP_BACKWARD_SHORT
);
skipBackward
();
break
;
case
SKIP_FW_ACTION
:
var_SetInteger
(
p_intf
->
p_libvlc
,
"key-action"
,
ACTIONID_JUMP_FORWARD_SHORT
);
skipForward
();
break
;
case
QUIT_ACTION
:
THEDP
->
quit
();
break
;
...
...
@@ -187,3 +185,13 @@ void ActionsManager::AudioDown()
aout_VolumeDown
(
THEPL
,
1
,
NULL
);
}
void
ActionsManager
::
skipForward
()
{
var_SetInteger
(
p_intf
->
p_libvlc
,
"key-action"
,
ACTIONID_JUMP_FORWARD_SHORT
);
}
void
ActionsManager
::
skipBackward
()
{
var_SetInteger
(
p_intf
->
p_libvlc
,
"key-action"
,
ACTIONID_JUMP_BACKWARD_SHORT
);
}
modules/gui/qt4/actions_manager.hpp
View file @
6bf1a3ba
...
...
@@ -86,6 +86,8 @@ public slots:
void
AudioDown
();
void
play
();
void
record
();
void
skipForward
();
void
skipBackward
();
protected
slots
:
void
fullscreen
();
void
snapshot
();
...
...
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