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
004213d0
Commit
004213d0
authored
Aug 15, 2014
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: create a AM::PPAction
Ref #11613
parent
36f457d0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
modules/gui/qt4/actions_manager.cpp
modules/gui/qt4/actions_manager.cpp
+9
-0
modules/gui/qt4/actions_manager.hpp
modules/gui/qt4/actions_manager.hpp
+3
-0
No files found.
modules/gui/qt4/actions_manager.cpp
View file @
004213d0
...
@@ -34,6 +34,7 @@
...
@@ -34,6 +34,7 @@
#include "input_manager.hpp"
/* THEMIM */
#include "input_manager.hpp"
/* THEMIM */
#include "main_interface.hpp"
/* Show playlist */
#include "main_interface.hpp"
/* Show playlist */
#include "components/controller.hpp"
/* Toggle FSC controller width */
#include "components/controller.hpp"
/* Toggle FSC controller width */
#include "components/extended_panels.hpp"
ActionsManager
::
ActionsManager
(
intf_thread_t
*
_p_i
)
ActionsManager
::
ActionsManager
(
intf_thread_t
*
_p_i
)
{
{
...
@@ -201,3 +202,11 @@ void ActionsManager::skipBackward()
...
@@ -201,3 +202,11 @@ void ActionsManager::skipBackward()
THEMIM
->
getIM
()
->
jumpBwd
();
THEMIM
->
getIM
()
->
jumpBwd
();
}
}
void
ActionsManager
::
PPaction
(
QAction
*
a
)
{
int
i_q
=
-
1
;
if
(
a
!=
NULL
)
i_q
=
a
->
data
().
toInt
();
ExtVideo
::
setPostprocessing
(
p_intf
,
i_q
);
}
modules/gui/qt4/actions_manager.hpp
View file @
004213d0
...
@@ -32,6 +32,8 @@
...
@@ -32,6 +32,8 @@
#include "util/singleton.hpp"
#include "util/singleton.hpp"
#include <QObject>
#include <QObject>
class
QAction
;
typedef
enum
actionType_e
typedef
enum
actionType_e
{
{
PLAY_ACTION
,
PLAY_ACTION
,
...
@@ -81,6 +83,7 @@ public slots:
...
@@ -81,6 +83,7 @@ public slots:
void
record
();
void
record
();
void
skipForward
();
void
skipForward
();
void
skipBackward
();
void
skipBackward
();
void
PPaction
(
QAction
*
);
protected
slots
:
protected
slots
:
void
fullscreen
();
void
fullscreen
();
...
...
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