Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
27ae51dd
Commit
27ae51dd
authored
Jul 10, 2013
by
Ludovic Fauvet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: remove dead code
parent
d9c9be81
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
47 deletions
+1
-47
modules/gui/qt4/components/extended_panels.cpp
modules/gui/qt4/components/extended_panels.cpp
+1
-46
modules/gui/qt4/components/extended_panels.hpp
modules/gui/qt4/components/extended_panels.hpp
+0
-1
No files found.
modules/gui/qt4/components/extended_panels.cpp
View file @
27ae51dd
/*****************************************************************************
/*****************************************************************************
* extended_panels.cpp : Extended controls panels
* extended_panels.cpp : Extended controls panels
****************************************************************************
****************************************************************************
* Copyright (C) 2006-201
2
the VideoLAN team
* Copyright (C) 2006-201
3
the VideoLAN team
* $Id$
* $Id$
*
*
* Authors: Clément Stenac <zorglub@videolan.org>
* Authors: Clément Stenac <zorglub@videolan.org>
...
@@ -61,29 +61,6 @@ static char *ChangeFiltersString( struct intf_thread_t *p_intf, const char *psz_
...
@@ -61,29 +61,6 @@ static char *ChangeFiltersString( struct intf_thread_t *p_intf, const char *psz_
static
void
ChangeAFiltersString
(
struct
intf_thread_t
*
p_intf
,
const
char
*
psz_name
,
bool
b_add
);
static
void
ChangeAFiltersString
(
struct
intf_thread_t
*
p_intf
,
const
char
*
psz_name
,
bool
b_add
);
static
void
ChangeVFiltersString
(
struct
intf_thread_t
*
p_intf
,
const
char
*
psz_name
,
bool
b_add
);
static
void
ChangeVFiltersString
(
struct
intf_thread_t
*
p_intf
,
const
char
*
psz_name
,
bool
b_add
);
#if 0
class ConfClickHandler : public QObject
{
public:
ConfClickHandler( intf_thread_t *_p_intf, ExtVideo *_e ) : QObject ( _e ) {
e = _e; p_intf = _p_intf;
}
virtual ~ConfClickHandler() {}
bool eventFilter( QObject *obj, QEvent *evt )
{
if( evt->type() == QEvent::MouseButtonPress )
{
e->gotoConf( obj );
return true;
}
return false;
}
private:
ExtVideo* e;
intf_thread_t *p_intf;
};
#endif
const
QString
ModuleFromWidgetName
(
QObject
*
obj
)
const
QString
ModuleFromWidgetName
(
QObject
*
obj
)
{
{
return
obj
->
objectName
().
replace
(
"Enable"
,
""
);
return
obj
->
objectName
().
replace
(
"Enable"
,
""
);
...
@@ -708,28 +685,6 @@ void ExtVideo::updateFilterOptions()
...
@@ -708,28 +685,6 @@ void ExtVideo::updateFilterOptions()
if
(
p_obj
)
vlc_object_release
(
p_obj
);
if
(
p_obj
)
vlc_object_release
(
p_obj
);
}
}
#if 0
void ExtVideo::gotoConf( QObject* src )
{
#define SHOWCONF( module ) \
if( src->objectName().contains( module ) ) \
{ \
PrefsDialog::getInstance( p_intf )->showModulePrefs( module ); \
return; \
}
SHOWCONF( "clone" );
SHOWCONF( "magnify" );
SHOWCONF( "wave" );
SHOWCONF( "ripple" );
SHOWCONF( "invert" );
SHOWCONF( "puzzle" );
SHOWCONF( "wall" );
SHOWCONF( "gradient" );
SHOWCONF( "colorthres" );
SHOWCONF( "anaglyph" )
}
#endif
/**********************************************************************
/**********************************************************************
* v4l2 controls
* v4l2 controls
**********************************************************************/
**********************************************************************/
...
...
modules/gui/qt4/components/extended_panels.hpp
View file @
27ae51dd
...
@@ -46,7 +46,6 @@ class ExtVideo: public QObject
...
@@ -46,7 +46,6 @@ class ExtVideo: public QObject
friend
class
ExtendedDialog
;
friend
class
ExtendedDialog
;
public:
public:
ExtVideo
(
struct
intf_thread_t
*
,
QTabWidget
*
);
ExtVideo
(
struct
intf_thread_t
*
,
QTabWidget
*
);
/*void gotoConf( QObject* );*/
private:
private:
Ui
::
ExtVideoWidget
ui
;
Ui
::
ExtVideoWidget
ui
;
QSignalMapper
*
filterMapper
;
QSignalMapper
*
filterMapper
;
...
...
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