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
3aecc753
Commit
3aecc753
authored
Apr 15, 2011
by
Hugo Beauzée-Luyssen
Committed by
Jean-Baptiste Kempf
Apr 15, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qt4: preferences_widgets: Remove useless empty DTOR
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
25d71630
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
modules/gui/qt4/components/preferences_widgets.hpp
modules/gui/qt4/components/preferences_widgets.hpp
+0
-16
No files found.
modules/gui/qt4/components/preferences_widgets.hpp
View file @
3aecc753
...
@@ -90,7 +90,6 @@ public:
...
@@ -90,7 +90,6 @@ public:
{
{
widget
=
NULL
;
widget
=
NULL
;
}
}
virtual
~
ConfigControl
()
{};
virtual
int
getType
()
const
=
0
;
virtual
int
getType
()
const
=
0
;
const
char
*
getName
()
const
{
return
p_item
->
psz_name
;
}
const
char
*
getName
()
const
{
return
p_item
->
psz_name
;
}
QWidget
*
getWidget
()
const
{
assert
(
widget
);
return
widget
;
}
QWidget
*
getWidget
()
const
{
assert
(
widget
);
return
widget
;
}
...
@@ -127,7 +126,6 @@ public:
...
@@ -127,7 +126,6 @@ public:
ConfigControl
(
a
,
b
,
c
)
{};
ConfigControl
(
a
,
b
,
c
)
{};
VIntConfigControl
(
vlc_object_t
*
a
,
module_config_t
*
b
)
:
VIntConfigControl
(
vlc_object_t
*
a
,
module_config_t
*
b
)
:
ConfigControl
(
a
,
b
)
{};
ConfigControl
(
a
,
b
)
{};
virtual
~
VIntConfigControl
()
{};
virtual
int
getValue
()
const
=
0
;
virtual
int
getValue
()
const
=
0
;
virtual
int
getType
()
const
{
return
CONFIG_ITEM_INTEGER
;
}
virtual
int
getType
()
const
{
return
CONFIG_ITEM_INTEGER
;
}
};
};
...
@@ -142,7 +140,6 @@ public:
...
@@ -142,7 +140,6 @@ public:
QLabel
*
,
QSpinBox
*
);
QLabel
*
,
QSpinBox
*
);
IntegerConfigControl
(
vlc_object_t
*
,
module_config_t
*
,
IntegerConfigControl
(
vlc_object_t
*
,
module_config_t
*
,
QLabel
*
,
QSlider
*
);
QLabel
*
,
QSlider
*
);
virtual
~
IntegerConfigControl
()
{};
virtual
int
getValue
()
const
;
virtual
int
getValue
()
const
;
virtual
void
show
()
const
{
spin
->
show
();
if
(
label
)
label
->
show
();
}
virtual
void
show
()
const
{
spin
->
show
();
if
(
label
)
label
->
show
();
}
virtual
void
hide
()
const
{
spin
->
hide
();
if
(
label
)
label
->
hide
();
}
virtual
void
hide
()
const
{
spin
->
hide
();
if
(
label
)
label
->
hide
();
}
...
@@ -170,7 +167,6 @@ class IntegerRangeSliderConfigControl : public VIntConfigControl
...
@@ -170,7 +167,6 @@ class IntegerRangeSliderConfigControl : public VIntConfigControl
public:
public:
IntegerRangeSliderConfigControl
(
vlc_object_t
*
,
module_config_t
*
,
IntegerRangeSliderConfigControl
(
vlc_object_t
*
,
module_config_t
*
,
QLabel
*
,
QSlider
*
);
QLabel
*
,
QSlider
*
);
virtual
~
IntegerRangeSliderConfigControl
()
{};
virtual
int
getValue
()
const
;
virtual
int
getValue
()
const
;
protected:
protected:
QSlider
*
slider
;
QSlider
*
slider
;
...
@@ -187,7 +183,6 @@ public:
...
@@ -187,7 +183,6 @@ public:
bool
,
QGridLayout
*
,
int
&
);
bool
,
QGridLayout
*
,
int
&
);
IntegerListConfigControl
(
vlc_object_t
*
,
module_config_t
*
,
QLabel
*
,
IntegerListConfigControl
(
vlc_object_t
*
,
module_config_t
*
,
QLabel
*
,
QComboBox
*
,
bool
);
QComboBox
*
,
bool
);
virtual
~
IntegerListConfigControl
()
{};
virtual
int
getValue
()
const
;
virtual
int
getValue
()
const
;
virtual
void
hide
()
{
combo
->
hide
();
if
(
label
)
label
->
hide
();
}
virtual
void
hide
()
{
combo
->
hide
();
if
(
label
)
label
->
hide
();
}
virtual
void
show
()
{
combo
->
show
();
if
(
label
)
label
->
show
();
}
virtual
void
show
()
{
combo
->
show
();
if
(
label
)
label
->
show
();
}
...
@@ -207,7 +202,6 @@ public:
...
@@ -207,7 +202,6 @@ public:
QGridLayout
*
,
int
&
);
QGridLayout
*
,
int
&
);
BoolConfigControl
(
vlc_object_t
*
,
module_config_t
*
,
BoolConfigControl
(
vlc_object_t
*
,
module_config_t
*
,
QLabel
*
,
QAbstractButton
*
,
bool
);
QLabel
*
,
QAbstractButton
*
,
bool
);
virtual
~
BoolConfigControl
()
{};
virtual
int
getValue
()
const
;
virtual
int
getValue
()
const
;
virtual
void
show
()
{
checkbox
->
show
();
}
virtual
void
show
()
{
checkbox
->
show
();
}
virtual
void
hide
()
{
checkbox
->
hide
();
}
virtual
void
hide
()
{
checkbox
->
hide
();
}
...
@@ -228,7 +222,6 @@ public:
...
@@ -228,7 +222,6 @@ public:
ConfigControl
(
a
,
b
,
c
)
{};
ConfigControl
(
a
,
b
,
c
)
{};
VFloatConfigControl
(
vlc_object_t
*
a
,
module_config_t
*
b
)
:
VFloatConfigControl
(
vlc_object_t
*
a
,
module_config_t
*
b
)
:
ConfigControl
(
a
,
b
)
{};
ConfigControl
(
a
,
b
)
{};
virtual
~
VFloatConfigControl
()
{};
virtual
float
getValue
()
const
=
0
;
virtual
float
getValue
()
const
=
0
;
virtual
int
getType
()
const
{
return
CONFIG_ITEM_FLOAT
;
}
virtual
int
getType
()
const
{
return
CONFIG_ITEM_FLOAT
;
}
};
};
...
@@ -241,7 +234,6 @@ public:
...
@@ -241,7 +234,6 @@ public:
QGridLayout
*
,
int
&
);
QGridLayout
*
,
int
&
);
FloatConfigControl
(
vlc_object_t
*
,
module_config_t
*
,
FloatConfigControl
(
vlc_object_t
*
,
module_config_t
*
,
QLabel
*
,
QDoubleSpinBox
*
);
QLabel
*
,
QDoubleSpinBox
*
);
virtual
~
FloatConfigControl
()
{};
virtual
float
getValue
()
const
;
virtual
float
getValue
()
const
;
virtual
void
show
()
{
spin
->
show
();
if
(
label
)
label
->
show
();
}
virtual
void
show
()
{
spin
->
show
();
if
(
label
)
label
->
show
();
}
virtual
void
hide
()
{
spin
->
hide
();
if
(
label
)
label
->
hide
();
}
virtual
void
hide
()
{
spin
->
hide
();
if
(
label
)
label
->
hide
();
}
...
@@ -277,7 +269,6 @@ public:
...
@@ -277,7 +269,6 @@ public:
ConfigControl
(
a
,
b
,
c
)
{};
ConfigControl
(
a
,
b
,
c
)
{};
VStringConfigControl
(
vlc_object_t
*
a
,
module_config_t
*
b
)
:
VStringConfigControl
(
vlc_object_t
*
a
,
module_config_t
*
b
)
:
ConfigControl
(
a
,
b
)
{};
ConfigControl
(
a
,
b
)
{};
virtual
~
VStringConfigControl
()
{};
virtual
QString
getValue
()
const
=
0
;
virtual
QString
getValue
()
const
=
0
;
virtual
int
getType
()
const
{
return
CONFIG_ITEM_STRING
;
}
virtual
int
getType
()
const
{
return
CONFIG_ITEM_STRING
;
}
};
};
...
@@ -290,7 +281,6 @@ public:
...
@@ -290,7 +281,6 @@ public:
QGridLayout
*
,
int
&
,
bool
pwd
);
QGridLayout
*
,
int
&
,
bool
pwd
);
StringConfigControl
(
vlc_object_t
*
,
module_config_t
*
,
QLabel
*
,
StringConfigControl
(
vlc_object_t
*
,
module_config_t
*
,
QLabel
*
,
QLineEdit
*
,
bool
pwd
);
QLineEdit
*
,
bool
pwd
);
virtual
~
StringConfigControl
()
{};
virtual
QString
getValue
()
const
{
return
text
->
text
();
};
virtual
QString
getValue
()
const
{
return
text
->
text
();
};
virtual
void
show
()
{
text
->
show
();
if
(
label
)
label
->
show
();
}
virtual
void
show
()
{
text
->
show
();
if
(
label
)
label
->
show
();
}
virtual
void
hide
()
{
text
->
hide
();
if
(
label
)
label
->
hide
();
}
virtual
void
hide
()
{
text
->
hide
();
if
(
label
)
label
->
hide
();
}
...
@@ -308,7 +298,6 @@ public:
...
@@ -308,7 +298,6 @@ public:
QGridLayout
*
,
int
&
);
QGridLayout
*
,
int
&
);
FileConfigControl
(
vlc_object_t
*
,
module_config_t
*
,
QLabel
*
,
FileConfigControl
(
vlc_object_t
*
,
module_config_t
*
,
QLabel
*
,
QLineEdit
*
,
QPushButton
*
);
QLineEdit
*
,
QPushButton
*
);
virtual
~
FileConfigControl
()
{};
virtual
QString
getValue
()
const
{
return
text
->
text
();
};
virtual
QString
getValue
()
const
{
return
text
->
text
();
};
virtual
void
show
()
{
text
->
show
();
if
(
label
)
label
->
show
();
browse
->
show
();
}
virtual
void
show
()
{
text
->
show
();
if
(
label
)
label
->
show
();
browse
->
show
();
}
virtual
void
hide
()
{
text
->
hide
();
if
(
label
)
label
->
hide
();
browse
->
hide
();
}
virtual
void
hide
()
{
text
->
hide
();
if
(
label
)
label
->
hide
();
browse
->
hide
();
}
...
@@ -329,7 +318,6 @@ public:
...
@@ -329,7 +318,6 @@ public:
QGridLayout
*
,
int
&
);
QGridLayout
*
,
int
&
);
DirectoryConfigControl
(
vlc_object_t
*
,
module_config_t
*
,
QLabel
*
,
DirectoryConfigControl
(
vlc_object_t
*
,
module_config_t
*
,
QLabel
*
,
QLineEdit
*
,
QPushButton
*
);
QLineEdit
*
,
QPushButton
*
);
virtual
~
DirectoryConfigControl
()
{};
public
slots
:
public
slots
:
virtual
void
updateField
();
virtual
void
updateField
();
};
};
...
@@ -342,7 +330,6 @@ public:
...
@@ -342,7 +330,6 @@ public:
QGridLayout
*
,
int
&
);
QGridLayout
*
,
int
&
);
FontConfigControl
(
vlc_object_t
*
,
module_config_t
*
,
QLabel
*
,
FontConfigControl
(
vlc_object_t
*
,
module_config_t
*
,
QLabel
*
,
QFontComboBox
*
);
QFontComboBox
*
);
virtual
~
FontConfigControl
()
{};
virtual
QString
getValue
()
const
{
return
font
->
currentFont
().
family
();
}
virtual
QString
getValue
()
const
{
return
font
->
currentFont
().
family
();
}
protected:
protected:
QLabel
*
label
;
QLabel
*
label
;
...
@@ -356,7 +343,6 @@ public:
...
@@ -356,7 +343,6 @@ public:
QGridLayout
*
,
int
&
);
QGridLayout
*
,
int
&
);
ModuleConfigControl
(
vlc_object_t
*
,
module_config_t
*
,
QLabel
*
,
ModuleConfigControl
(
vlc_object_t
*
,
module_config_t
*
,
QLabel
*
,
QComboBox
*
,
bool
);
QComboBox
*
,
bool
);
virtual
~
ModuleConfigControl
()
{};
virtual
QString
getValue
()
const
;
virtual
QString
getValue
()
const
;
virtual
void
hide
()
{
combo
->
hide
();
if
(
label
)
label
->
hide
();
}
virtual
void
hide
()
{
combo
->
hide
();
if
(
label
)
label
->
hide
();
}
virtual
void
show
()
{
combo
->
show
();
if
(
label
)
label
->
show
();
}
virtual
void
show
()
{
combo
->
show
();
if
(
label
)
label
->
show
();
}
...
@@ -401,7 +387,6 @@ public:
...
@@ -401,7 +387,6 @@ public:
bool
,
QGridLayout
*
,
int
&
);
bool
,
QGridLayout
*
,
int
&
);
StringListConfigControl
(
vlc_object_t
*
,
module_config_t
*
,
QLabel
*
,
StringListConfigControl
(
vlc_object_t
*
,
module_config_t
*
,
QLabel
*
,
QComboBox
*
,
bool
);
QComboBox
*
,
bool
);
virtual
~
StringListConfigControl
()
{};
virtual
QString
getValue
()
const
;
virtual
QString
getValue
()
const
;
virtual
void
hide
()
{
combo
->
hide
();
if
(
label
)
label
->
hide
();
}
virtual
void
hide
()
{
combo
->
hide
();
if
(
label
)
label
->
hide
();
}
virtual
void
show
()
{
combo
->
show
();
if
(
label
)
label
->
show
();
}
virtual
void
show
()
{
combo
->
show
();
if
(
label
)
label
->
show
();
}
...
@@ -468,7 +453,6 @@ public:
...
@@ -468,7 +453,6 @@ public:
KeySelectorControl
(
vlc_object_t
*
,
module_config_t
*
,
QWidget
*
,
KeySelectorControl
(
vlc_object_t
*
,
module_config_t
*
,
QWidget
*
,
QGridLayout
*
,
int
&
);
QGridLayout
*
,
int
&
);
virtual
int
getType
()
const
{
return
CONFIG_ITEM_KEY
;
}
virtual
int
getType
()
const
{
return
CONFIG_ITEM_KEY
;
}
virtual
~
KeySelectorControl
()
{};
virtual
void
hide
()
{
table
->
hide
();
if
(
label
)
label
->
hide
();
}
virtual
void
hide
()
{
table
->
hide
();
if
(
label
)
label
->
hide
();
}
virtual
void
show
()
{
table
->
show
();
if
(
label
)
label
->
show
();
}
virtual
void
show
()
{
table
->
show
();
if
(
label
)
label
->
show
();
}
void
doApply
();
void
doApply
();
...
...
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