Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
ea39325d
Commit
ea39325d
authored
Jan 19, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: simplifications.
parent
91c06c7d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
54 deletions
+14
-54
modules/gui/qt4/actions_manager.cpp
modules/gui/qt4/actions_manager.cpp
+13
-46
modules/gui/qt4/actions_manager.hpp
modules/gui/qt4/actions_manager.hpp
+1
-8
No files found.
modules/gui/qt4/actions_manager.cpp
View file @
ea39325d
...
...
@@ -50,32 +50,34 @@ void ActionsManager::doAction( int id_action )
{
case
PLAY_ACTION
:
play
();
break
;
case
STOP_ACTION
:
THEMIM
->
stop
();
break
;
case
OPEN_ACTION
:
break
;
case
PREVIOUS_ACTION
:
prev
();
break
;
THEMIM
->
prev
();
break
;
case
NEXT_ACTION
:
next
();
break
;
case
STOP_ACTION
:
stop
();
break
;
THEMIM
->
next
();
break
;
case
SLOWER_ACTION
:
slower
();
break
;
THEMIM
->
getIM
()
->
slower
();
break
;
case
FASTER_ACTION
:
faster
();
break
;
THEMIM
->
getIM
()
->
faster
();
break
;
case
FULLSCREEN_ACTION
:
fullscreen
();
break
;
case
EXTENDED_ACTION
:
extSettings
();
break
;
THEDP
->
extendedDialog
();
break
;
case
PLAYLIST_ACTION
:
playlist
();
break
;
case
SNAPSHOT_ACTION
:
snapshot
();
break
;
case
RECORD_ACTION
:
record
();
break
;
case
ATOB_ACTION
:
THEMIM
->
getIM
()
->
setAtoB
();
break
;
case
FRAME_ACTION
:
frame
();
break
;
case
ATOB_ACTION
:
THEMIM
->
getIM
()
->
setAtoB
();
break
;
case
REVERSE_ACTION
:
reverse
();
break
;
THEMIM
->
getIM
()
->
reverse
();
break
;
case
SKIP_BACK_ACTION
:
var_SetInteger
(
p_intf
->
p_libvlc
,
"key-pressed"
,
ACTIONID_JUMP_BACKWARD_SHORT
);
...
...
@@ -90,11 +92,6 @@ void ActionsManager::doAction( int id_action )
}
}
inline
void
ActionsManager
::
stop
()
{
THEMIM
->
stop
();
}
void
ActionsManager
::
play
()
{
if
(
THEPL
->
current
.
i_size
==
0
)
...
...
@@ -106,16 +103,6 @@ void ActionsManager::play()
THEMIM
->
togglePlayPause
();
}
inline
void
ActionsManager
::
prev
()
{
THEMIM
->
prev
();
}
inline
void
ActionsManager
::
next
()
{
THEMIM
->
next
();
}
/**
* TODO
* This functions toggle the fullscreen mode
...
...
@@ -144,27 +131,7 @@ void ActionsManager::snapshot()
}
}
inline
void
ActionsManager
::
extSettings
()
{
THEDP
->
extendedDialog
();
}
inline
void
ActionsManager
::
reverse
()
{
THEMIM
->
getIM
()
->
reverse
();
}
inline
void
ActionsManager
::
slower
()
{
THEMIM
->
getIM
()
->
slower
();
}
inline
void
ActionsManager
::
faster
()
{
THEMIM
->
getIM
()
->
faster
();
}
inline
void
ActionsManager
::
playlist
()
void
ActionsManager
::
playlist
()
{
if
(
p_intf
->
p_sys
->
p_mi
)
p_intf
->
p_sys
->
p_mi
->
togglePlaylist
();
}
...
...
modules/gui/qt4/actions_manager.hpp
View file @
ea39325d
...
...
@@ -79,16 +79,9 @@ protected slots:
protected
slots
:
void
play
();
void
stop
();
void
prev
();
void
next
();
void
fullscreen
();
void
extSettings
();
void
faster
();
void
slower
();
void
reverse
();
void
playlist
();
void
snapshot
();
void
playlist
();
void
record
();
void
frame
();
...
...
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