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
a25fb17c
Commit
a25fb17c
authored
Mar 11, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt, menus: inline functions
parent
880de496
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
25 deletions
+11
-25
modules/gui/qt4/menus.cpp
modules/gui/qt4/menus.cpp
+0
-20
modules/gui/qt4/menus.hpp
modules/gui/qt4/menus.hpp
+11
-5
No files found.
modules/gui/qt4/menus.cpp
View file @
a25fb17c
...
...
@@ -411,11 +411,6 @@ QMenu *QVLCMenu::ToolsMenu( QMenu *menu )
return
menu
;
}
QMenu
*
QVLCMenu
::
ToolsMenu
(
QWidget
*
parent
)
{
return
ToolsMenu
(
new
QMenu
(
parent
)
);
}
/**
* View Menu
* Interface modification, load other interfaces, activate Extensions
...
...
@@ -588,11 +583,6 @@ QMenu *QVLCMenu::AudioMenu( intf_thread_t *p_intf, QMenu * current )
return
Populate
(
p_intf
,
current
,
varnames
,
objects
);
}
QMenu
*
QVLCMenu
::
AudioMenu
(
intf_thread_t
*
p_intf
,
QWidget
*
parent
)
{
return
AudioMenu
(
p_intf
,
new
QMenu
(
parent
)
);
}
/**
* Main Video Menu
* Subtitles are part of Video.
...
...
@@ -648,11 +638,6 @@ QMenu *QVLCMenu::VideoMenu( intf_thread_t *p_intf, QMenu *current )
return
Populate
(
p_intf
,
current
,
varnames
,
objects
);
}
QMenu
*
QVLCMenu
::
VideoMenu
(
intf_thread_t
*
p_intf
,
QWidget
*
parent
)
{
return
VideoMenu
(
p_intf
,
new
QMenu
(
parent
)
);
}
/**
* Navigation Menu
* For DVD, MP4, MOV and other chapter based format
...
...
@@ -706,11 +691,6 @@ QMenu *QVLCMenu::RebuildNavigMenu( intf_thread_t *p_intf, QMenu *menu )
return
Populate
(
p_intf
,
menu
,
varnames
,
objects
);
}
QMenu
*
QVLCMenu
::
NavigMenu
(
intf_thread_t
*
p_intf
,
QWidget
*
parent
)
{
return
NavigMenu
(
p_intf
,
new
QMenu
(
parent
)
);
}
/**
* Service Discovery SubMenu
**/
...
...
modules/gui/qt4/menus.hpp
View file @
a25fb17c
...
...
@@ -29,11 +29,11 @@
#include <QObject>
#include <QAction>
#include <QMenu>
#include <vector>
using
namespace
std
;
class
QMenu
;
class
QMenuBar
;
class
QSystemTrayIcon
;
...
...
@@ -97,7 +97,7 @@ private:
static
QMenu
*
SDMenu
(
intf_thread_t
*
,
QWidget
*
);
static
QMenu
*
ToolsMenu
(
QMenu
*
);
static
QMenu
*
ToolsMenu
(
QWidget
*
);
static
QMenu
*
ToolsMenu
(
QWidget
*
parent
)
{
return
ToolsMenu
(
new
QMenu
(
parent
)
);
}
static
QMenu
*
ViewMenu
(
intf_thread_t
*
,
QMenu
*
,
MainInterface
*
mi
=
NULL
);
...
...
@@ -105,14 +105,20 @@ private:
static
void
ExtensionsMenu
(
intf_thread_t
*
p_intf
,
QMenu
*
);
static
QMenu
*
NavigMenu
(
intf_thread_t
*
,
QMenu
*
);
static
QMenu
*
NavigMenu
(
intf_thread_t
*
,
QWidget
*
);
static
QMenu
*
NavigMenu
(
intf_thread_t
*
p_intf
,
QWidget
*
parent
)
{
return
NavigMenu
(
p_intf
,
new
QMenu
(
parent
)
);
}
static
QMenu
*
RebuildNavigMenu
(
intf_thread_t
*
,
QMenu
*
);
static
QMenu
*
VideoMenu
(
intf_thread_t
*
,
QMenu
*
);
static
QMenu
*
VideoMenu
(
intf_thread_t
*
,
QWidget
*
);
static
QMenu
*
VideoMenu
(
intf_thread_t
*
p_intf
,
QWidget
*
parent
)
{
return
VideoMenu
(
p_intf
,
new
QMenu
(
parent
)
);
}
static
QMenu
*
AudioMenu
(
intf_thread_t
*
,
QMenu
*
);
static
QMenu
*
AudioMenu
(
intf_thread_t
*
,
QWidget
*
);
static
QMenu
*
AudioMenu
(
intf_thread_t
*
p_intf
,
QWidget
*
parent
)
{
return
AudioMenu
(
p_intf
,
new
QMenu
(
parent
)
);
}
static
QMenu
*
HelpMenu
(
QWidget
*
);
...
...
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