Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
cd0e462c
Commit
cd0e462c
authored
Mar 07, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Add Q_OBJECT Macros when needed. Patch from Benjamin Meyer.
parent
543b1278
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
modules/gui/qt4/components/preferences_widgets.hpp
modules/gui/qt4/components/preferences_widgets.hpp
+8
-1
modules/gui/qt4/menus.hpp
modules/gui/qt4/menus.hpp
+5
-0
No files found.
modules/gui/qt4/components/preferences_widgets.hpp
View file @
cd0e462c
...
...
@@ -46,7 +46,7 @@ class QGridLayout;
class
ConfigControl
:
public
QObject
{
Q_OBJECT
;
Q_OBJECT
public:
ConfigControl
(
vlc_object_t
*
_p_this
,
module_config_t
*
_p_conf
,
QWidget
*
p
)
:
p_this
(
_p_this
),
p_item
(
_p_conf
)
...
...
@@ -87,6 +87,7 @@ signals:
*******************************************************/
class
VIntConfigControl
:
public
ConfigControl
{
Q_OBJECT
public:
VIntConfigControl
(
vlc_object_t
*
a
,
module_config_t
*
b
,
QWidget
*
c
)
:
ConfigControl
(
a
,
b
,
c
)
{};
...
...
@@ -99,6 +100,7 @@ public:
class
IntegerConfigControl
:
public
VIntConfigControl
{
Q_OBJECT
public:
IntegerConfigControl
(
vlc_object_t
*
,
module_config_t
*
,
QWidget
*
,
QGridLayout
*
,
int
&
);
...
...
@@ -181,6 +183,7 @@ private:
*******************************************************/
class
VFloatConfigControl
:
public
ConfigControl
{
Q_OBJECT
public:
VFloatConfigControl
(
vlc_object_t
*
a
,
module_config_t
*
b
,
QWidget
*
c
)
:
ConfigControl
(
a
,
b
,
c
)
{};
...
...
@@ -193,6 +196,7 @@ public:
class
FloatConfigControl
:
public
VFloatConfigControl
{
Q_OBJECT
public:
FloatConfigControl
(
vlc_object_t
*
,
module_config_t
*
,
QWidget
*
,
QGridLayout
*
,
int
&
);
...
...
@@ -213,6 +217,7 @@ private:
class
FloatRangeConfigControl
:
public
FloatConfigControl
{
Q_OBJECT
public:
FloatRangeConfigControl
(
vlc_object_t
*
,
module_config_t
*
,
QWidget
*
,
QGridLayout
*
,
int
&
);
...
...
@@ -227,6 +232,7 @@ private:
*******************************************************/
class
VStringConfigControl
:
public
ConfigControl
{
Q_OBJECT
public:
VStringConfigControl
(
vlc_object_t
*
a
,
module_config_t
*
b
,
QWidget
*
c
)
:
ConfigControl
(
a
,
b
,
c
)
{};
...
...
@@ -239,6 +245,7 @@ public:
class
StringConfigControl
:
public
VStringConfigControl
{
Q_OBJECT
public:
StringConfigControl
(
vlc_object_t
*
,
module_config_t
*
,
QWidget
*
,
QGridLayout
*
,
int
&
,
bool
pwd
);
...
...
modules/gui/qt4/menus.hpp
View file @
cd0e462c
...
...
@@ -34,6 +34,9 @@ class QMenuBar;
class
MenuItemData
:
public
QObject
{
Q_OBJECT
public:
MenuItemData
(
int
i_id
,
int
_i_type
,
vlc_value_t
_val
,
const
char
*
_var
)
{
...
...
@@ -94,6 +97,8 @@ private:
class
MenuFunc
:
public
QObject
{
Q_OBJECT
public:
MenuFunc
(
QMenu
*
_menu
,
int
_id
)
{
menu
=
_menu
;
id
=
_id
;
};
void
doFunc
(
intf_thread_t
*
p_intf
)
...
...
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