Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
63631cba
Commit
63631cba
authored
Dec 29, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: Remove some dialogs_provider.hpp and input_manager.hpp dependencies.
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
dcaffea5
Changes
23
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
32 additions
and
53 deletions
+32
-53
modules/gui/qt4/components/controller.cpp
modules/gui/qt4/components/controller.cpp
+1
-1
modules/gui/qt4/components/extended_panels.cpp
modules/gui/qt4/components/extended_panels.cpp
+0
-1
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/interface_widgets.cpp
+0
-1
modules/gui/qt4/components/interface_widgets.hpp
modules/gui/qt4/components/interface_widgets.hpp
+2
-2
modules/gui/qt4/components/open_panels.cpp
modules/gui/qt4/components/open_panels.cpp
+1
-1
modules/gui/qt4/components/playlist/playlist.cpp
modules/gui/qt4/components/playlist/playlist.cpp
+4
-3
modules/gui/qt4/components/playlist/playlist.hpp
modules/gui/qt4/components/playlist/playlist.hpp
+2
-2
modules/gui/qt4/dialogs/bookmarks.cpp
modules/gui/qt4/dialogs/bookmarks.cpp
+1
-1
modules/gui/qt4/dialogs/extended.cpp
modules/gui/qt4/dialogs/extended.cpp
+3
-4
modules/gui/qt4/dialogs/gototime.cpp
modules/gui/qt4/dialogs/gototime.cpp
+0
-2
modules/gui/qt4/dialogs/help.cpp
modules/gui/qt4/dialogs/help.cpp
+4
-7
modules/gui/qt4/dialogs/interaction.cpp
modules/gui/qt4/dialogs/interaction.cpp
+0
-1
modules/gui/qt4/dialogs/mediainfo.cpp
modules/gui/qt4/dialogs/mediainfo.cpp
+0
-1
modules/gui/qt4/dialogs/messages.cpp
modules/gui/qt4/dialogs/messages.cpp
+0
-2
modules/gui/qt4/dialogs/open.cpp
modules/gui/qt4/dialogs/open.cpp
+4
-3
modules/gui/qt4/dialogs/open.hpp
modules/gui/qt4/dialogs/open.hpp
+0
-1
modules/gui/qt4/dialogs/playlist.cpp
modules/gui/qt4/dialogs/playlist.cpp
+0
-7
modules/gui/qt4/dialogs/preferences.cpp
modules/gui/qt4/dialogs/preferences.cpp
+0
-3
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.cpp
+0
-1
modules/gui/qt4/input_manager.cpp
modules/gui/qt4/input_manager.cpp
+3
-2
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+0
-1
modules/gui/qt4/menus.cpp
modules/gui/qt4/menus.cpp
+2
-1
modules/gui/qt4/qt4.cpp
modules/gui/qt4/qt4.cpp
+5
-5
No files found.
modules/gui/qt4/components/controller.cpp
View file @
63631cba
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
#include "components/controller_widget.hpp"
#include "components/controller_widget.hpp"
#include "components/interface_widgets.hpp"
#include "components/interface_widgets.hpp"
#include "dialogs_provider.hpp"
#include "dialogs_provider.hpp"
/* Opening Dialogs */
#include "input_manager.hpp"
#include "input_manager.hpp"
#include "util/input_slider.hpp"
/* InputSlider */
#include "util/input_slider.hpp"
/* InputSlider */
...
...
modules/gui/qt4/components/extended_panels.cpp
View file @
63631cba
...
@@ -36,7 +36,6 @@
...
@@ -36,7 +36,6 @@
#include "components/extended_panels.hpp"
#include "components/extended_panels.hpp"
#include "dialogs/preferences.hpp"
#include "dialogs/preferences.hpp"
#include "dialogs_provider.hpp"
#include "qt4.hpp"
#include "qt4.hpp"
#include "input_manager.hpp"
#include "input_manager.hpp"
...
...
modules/gui/qt4/components/interface_widgets.cpp
View file @
63631cba
...
@@ -30,7 +30,6 @@
...
@@ -30,7 +30,6 @@
#include "components/interface_widgets.hpp"
#include "components/interface_widgets.hpp"
#include "input_manager.hpp"
/* Rate control */
#include "menus.hpp"
/* Popup menu on bgWidget */
#include "menus.hpp"
/* Popup menu on bgWidget */
#include <vlc_vout.h>
#include <vlc_vout.h>
...
...
modules/gui/qt4/components/interface_widgets.hpp
View file @
63631cba
...
@@ -30,8 +30,8 @@
...
@@ -30,8 +30,8 @@
# include "config.h"
# include "config.h"
#endif
#endif
#include "main_interface.hpp"
#include "main_interface.hpp"
/* Interface integration */
#include "input_manager.hpp"
#include "input_manager.hpp"
/* Speed control */
#include "components/controller.hpp"
#include "components/controller.hpp"
#include "components/controller_widget.hpp"
#include "components/controller_widget.hpp"
...
...
modules/gui/qt4/components/open_panels.cpp
View file @
63631cba
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
#include "qt4.hpp"
#include "qt4.hpp"
#include "components/open_panels.hpp"
#include "components/open_panels.hpp"
#include "dialogs/open.hpp"
#include "dialogs/open.hpp"
#include "dialogs_provider.hpp"
#include "dialogs_provider.hpp"
/* Open Subtitle file */
#include <QFileDialog>
#include <QFileDialog>
#include <QDialogButtonBox>
#include <QDialogButtonBox>
...
...
modules/gui/qt4/components/playlist/playlist.cpp
View file @
63631cba
...
@@ -29,7 +29,9 @@
...
@@ -29,7 +29,9 @@
#include "components/playlist/panels.hpp"
#include "components/playlist/panels.hpp"
#include "components/playlist/selector.hpp"
#include "components/playlist/selector.hpp"
#include "components/playlist/playlist.hpp"
#include "components/playlist/playlist.hpp"
#include "input_manager.hpp"
/* art signal */
#include "input_manager.hpp"
/* art signal */
#include "main_interface.hpp"
/* DropEvent TODO remove this*/
#include <QSettings>
#include <QSettings>
#include <QLabel>
#include <QLabel>
...
@@ -132,13 +134,12 @@ PlaylistWidget::~PlaylistWidget()
...
@@ -132,13 +134,12 @@ PlaylistWidget::~PlaylistWidget()
msg_Dbg
(
p_intf
,
"Playlist Destroyed"
);
msg_Dbg
(
p_intf
,
"Playlist Destroyed"
);
}
}
#include "main_interface.hpp"
void
PlaylistWidget
::
dropEvent
(
QDropEvent
*
event
)
void
PlaylistWidget
::
dropEvent
(
QDropEvent
*
event
)
{
{
if
(
p_intf
->
p_sys
->
p_mi
)
if
(
p_intf
->
p_sys
->
p_mi
)
p_intf
->
p_sys
->
p_mi
->
dropEventPlay
(
event
,
false
);
p_intf
->
p_sys
->
p_mi
->
dropEventPlay
(
event
,
false
);
}
}
void
PlaylistWidget
::
dragEnterEvent
(
QDragEnterEvent
*
event
)
void
PlaylistWidget
::
dragEnterEvent
(
QDragEnterEvent
*
event
)
{
{
event
->
acceptProposedAction
();
event
->
acceptProposedAction
();
}
}
...
...
modules/gui/qt4/components/playlist/playlist.hpp
View file @
63631cba
...
@@ -30,9 +30,9 @@
...
@@ -30,9 +30,9 @@
# include "config.h"
# include "config.h"
#endif
#endif
#include <vlc_common.h>
#include "qt4.hpp"
#include "qt4.hpp"
#include "dialogs_provider.hpp"
#include "dialogs_provider.hpp"
/* Media Info from ArtLabel */
#include "components/interface_widgets.hpp"
#include "components/interface_widgets.hpp"
#include <QSplitter>
#include <QSplitter>
...
...
modules/gui/qt4/dialogs/bookmarks.cpp
View file @
63631cba
...
@@ -19,12 +19,12 @@
...
@@ -19,12 +19,12 @@
* along with this program; if not, write to the Free Software
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
*****************************************************************************/
#ifdef HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
# include "config.h"
# include "config.h"
#endif
#endif
#include "dialogs/bookmarks.hpp"
#include "dialogs/bookmarks.hpp"
#include "dialogs_provider.hpp"
#include "input_manager.hpp"
#include "input_manager.hpp"
#include <QGridLayout>
#include <QGridLayout>
...
...
modules/gui/qt4/dialogs/extended.cpp
View file @
63631cba
/*****************************************************************************
/*****************************************************************************
* extended.cpp : Extended controls - Undocked
* extended.cpp : Extended controls - Undocked
****************************************************************************
****************************************************************************
* Copyright (C) 2006 the VideoLAN team
* Copyright (C) 2006
-2008
the VideoLAN team
* $Id$
* $Id$
*
*
* Authors: Clément Stenac <zorglub@videolan.org>
* Authors: Clément Stenac <zorglub@videolan.org>
...
@@ -26,9 +26,8 @@
...
@@ -26,9 +26,8 @@
#endif
#endif
#include "dialogs/extended.hpp"
#include "dialogs/extended.hpp"
#include "dialogs_provider.hpp"
#include "main_interface.hpp"
#include "main_interface.hpp"
/* Needed for external MI size */
#include "input_manager.hpp"
#include "input_manager.hpp"
#include <QTabWidget>
#include <QTabWidget>
...
@@ -92,7 +91,7 @@ ExtendedDialog::ExtendedDialog( intf_thread_t *_p_intf ): QVLCFrame( _p_intf )
...
@@ -92,7 +91,7 @@ ExtendedDialog::ExtendedDialog( intf_thread_t *_p_intf ): QVLCFrame( _p_intf )
if
(
!
restoreGeometry
(
getSettings
()
->
value
(
"EPanel/geometry"
).
toByteArray
()))
if
(
!
restoreGeometry
(
getSettings
()
->
value
(
"EPanel/geometry"
).
toByteArray
()))
{
{
resize
(
QSize
(
400
,
280
)
);
resize
(
QSize
(
400
,
280
)
);
MainInterface
*
p_mi
=
p_intf
->
p_sys
->
p_mi
;
MainInterface
*
p_mi
=
p_intf
->
p_sys
->
p_mi
;
if
(
p_mi
)
if
(
p_mi
)
move
(
(
p_mi
->
x
()
-
frameGeometry
().
width
()
-
10
),
p_mi
->
y
()
);
move
(
(
p_mi
->
x
()
-
frameGeometry
().
width
()
-
10
),
p_mi
->
y
()
);
...
...
modules/gui/qt4/dialogs/gototime.cpp
View file @
63631cba
...
@@ -26,8 +26,6 @@
...
@@ -26,8 +26,6 @@
#include "dialogs/gototime.hpp"
#include "dialogs/gototime.hpp"
#include "dialogs_provider.hpp"
#include "main_interface.hpp"
#include "input_manager.hpp"
#include "input_manager.hpp"
#include <QTabWidget>
#include <QTabWidget>
...
...
modules/gui/qt4/dialogs/help.cpp
View file @
63631cba
...
@@ -26,19 +26,16 @@
...
@@ -26,19 +26,16 @@
# include "config.h"
# include "config.h"
#endif
#endif
#include <vlc_common.h>
#include "dialogs/help.hpp"
#include "dialogs/help.hpp"
#include <vlc_common.h>
#include <vlc_about.h>
#include <vlc_about.h>
#include <vlc_intf_strings.h>
#ifdef UPDATE_CHECK
#ifdef UPDATE_CHECK
#include <vlc_update.h>
#
include <vlc_update.h>
#endif
#endif
#include "dialogs_provider.hpp"
#include <vlc_intf_strings.h>
#include <QTextBrowser>
#include <QTextBrowser>
#include <QTabWidget>
#include <QTabWidget>
#include <QLabel>
#include <QLabel>
...
...
modules/gui/qt4/dialogs/interaction.cpp
View file @
63631cba
...
@@ -27,7 +27,6 @@
...
@@ -27,7 +27,6 @@
#include "dialogs/errors.hpp"
#include "dialogs/errors.hpp"
#include "dialogs/interaction.hpp"
#include "dialogs/interaction.hpp"
#include "main_interface.hpp"
#include <QLabel>
#include <QLabel>
#include <QLineEdit>
#include <QLineEdit>
...
...
modules/gui/qt4/dialogs/mediainfo.cpp
View file @
63631cba
...
@@ -27,7 +27,6 @@
...
@@ -27,7 +27,6 @@
#include "dialogs/mediainfo.hpp"
#include "dialogs/mediainfo.hpp"
#include "input_manager.hpp"
#include "input_manager.hpp"
#include "dialogs_provider.hpp"
#include <QTabWidget>
#include <QTabWidget>
#include <QGridLayout>
#include <QGridLayout>
...
...
modules/gui/qt4/dialogs/messages.cpp
View file @
63631cba
...
@@ -25,9 +25,7 @@
...
@@ -25,9 +25,7 @@
#endif
#endif
#include "dialogs/messages.hpp"
#include "dialogs/messages.hpp"
#include "dialogs_provider.hpp"
#include <QSpacerItem>
#include <QSpinBox>
#include <QSpinBox>
#include <QLabel>
#include <QLabel>
#include <QTextEdit>
#include <QTextEdit>
...
...
modules/gui/qt4/dialogs/open.cpp
View file @
63631cba
/*****************************************************************************
/*****************************************************************************
* open.cpp : Advanced open dialog
* open.cpp : Advanced open dialog
*****************************************************************************
*****************************************************************************
* Copyright © 2006-200
7
the VideoLAN team
* Copyright © 2006-200
8
the VideoLAN team
* $Id$
* $Id$
*
*
* Authors: Jean-Baptiste Kempf <jb@videolan.org>
* Authors: Jean-Baptiste Kempf <jb@videolan.org>
...
@@ -24,10 +24,11 @@
...
@@ -24,10 +24,11 @@
# include "config.h"
# include "config.h"
#endif
#endif
#include "input_manager.hpp"
#include "dialogs/open.hpp"
#include "dialogs/open.hpp"
#include "input_manager.hpp"
#include "dialogs_provider.hpp"
#include "recents.hpp"
#include "recents.hpp"
#include <QTabWidget>
#include <QTabWidget>
...
...
modules/gui/qt4/dialogs/open.hpp
View file @
63631cba
...
@@ -31,7 +31,6 @@
...
@@ -31,7 +31,6 @@
#include <vlc_common.h>
#include <vlc_common.h>
#include "util/qvlcframe.hpp"
#include "util/qvlcframe.hpp"
#include "dialogs_provider.hpp"
#include "ui/open.h"
#include "ui/open.h"
#include "components/open_panels.hpp"
#include "components/open_panels.hpp"
...
...
modules/gui/qt4/dialogs/playlist.cpp
View file @
63631cba
...
@@ -26,17 +26,10 @@
...
@@ -26,17 +26,10 @@
#include "dialogs/playlist.hpp"
#include "dialogs/playlist.hpp"
#include "main_interface.hpp"
#include "components/playlist/playlist.hpp"
#include "components/playlist/playlist.hpp"
#include "dialogs_provider.hpp"
#include "menus.hpp"
#include <QUrl>
#include <QUrl>
#include <QHBoxLayout>
#include <QHBoxLayout>
#include <QSignalMapper>
#include <QMenu>
#include <QAction>
#include <QMenuBar>
PlaylistDialog
*
PlaylistDialog
::
instance
=
NULL
;
PlaylistDialog
*
PlaylistDialog
::
instance
=
NULL
;
...
...
modules/gui/qt4/dialogs/preferences.cpp
View file @
63631cba
...
@@ -27,7 +27,6 @@
...
@@ -27,7 +27,6 @@
#endif
#endif
#include "dialogs/preferences.hpp"
#include "dialogs/preferences.hpp"
#include "dialogs_provider.hpp"
#include "util/qvlcframe.hpp"
#include "util/qvlcframe.hpp"
#include "components/complete_preferences.hpp"
#include "components/complete_preferences.hpp"
...
@@ -36,9 +35,7 @@
...
@@ -36,9 +35,7 @@
#include <QHBoxLayout>
#include <QHBoxLayout>
#include <QGroupBox>
#include <QGroupBox>
#include <QRadioButton>
#include <QRadioButton>
#include <QVBoxLayout>
#include <QPushButton>
#include <QPushButton>
#include <QCheckBox>
#include <QMessageBox>
#include <QMessageBox>
#include <QDialogButtonBox>
#include <QDialogButtonBox>
...
...
modules/gui/qt4/dialogs_provider.cpp
View file @
63631cba
...
@@ -31,7 +31,6 @@
...
@@ -31,7 +31,6 @@
#include "qt4.hpp"
#include "qt4.hpp"
#include "dialogs_provider.hpp"
#include "dialogs_provider.hpp"
#include "main_interface.hpp"
#include "menus.hpp"
#include "menus.hpp"
#include "input_manager.hpp"
#include "input_manager.hpp"
#include "recents.hpp"
#include "recents.hpp"
...
...
modules/gui/qt4/input_manager.cpp
View file @
63631cba
...
@@ -22,13 +22,15 @@
...
@@ -22,13 +22,15 @@
* along with this program; if not, write to the Free Software
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
*****************************************************************************/
#ifdef HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
# include "config.h"
# include "config.h"
#endif
#endif
#include "qt4.hpp"
#include "qt4.hpp"
#include "input_manager.hpp"
#include "input_manager.hpp"
#include "dialogs_provider.hpp"
#include <QApplication>
static
int
ItemChanged
(
vlc_object_t
*
,
const
char
*
,
static
int
ItemChanged
(
vlc_object_t
*
,
const
char
*
,
vlc_value_t
,
vlc_value_t
,
void
*
);
vlc_value_t
,
vlc_value_t
,
void
*
);
...
@@ -616,7 +618,6 @@ MainInputManager::MainInputManager( intf_thread_t *_p_intf )
...
@@ -616,7 +618,6 @@ MainInputManager::MainInputManager( intf_thread_t *_p_intf )
var_Change
(
THEPL
,
"playlist-current"
,
VLC_VAR_CHOICESCOUNT
,
&
val
,
NULL
);
var_Change
(
THEPL
,
"playlist-current"
,
VLC_VAR_CHOICESCOUNT
,
&
val
,
NULL
);
IMEvent
*
event
=
new
IMEvent
(
ItemChanged_Type
,
val
.
i_int
);
IMEvent
*
event
=
new
IMEvent
(
ItemChanged_Type
,
val
.
i_int
);
QApplication
::
postEvent
(
this
,
static_cast
<
QEvent
*>
(
event
)
);
QApplication
::
postEvent
(
this
,
static_cast
<
QEvent
*>
(
event
)
);
}
}
MainInputManager
::~
MainInputManager
()
MainInputManager
::~
MainInputManager
()
...
...
modules/gui/qt4/main_interface.cpp
View file @
63631cba
...
@@ -33,7 +33,6 @@
...
@@ -33,7 +33,6 @@
#include "util/qvlcframe.hpp"
#include "util/qvlcframe.hpp"
#include "util/qvlcapp.hpp"
#include "util/qvlcapp.hpp"
#include "util/customwidgets.hpp"
#include "util/customwidgets.hpp"
#include "dialogs_provider.hpp"
#include "components/interface_widgets.hpp"
#include "components/interface_widgets.hpp"
#include "components/controller.hpp"
#include "components/controller.hpp"
#include "components/playlist/playlist.hpp"
#include "components/playlist/playlist.hpp"
...
...
modules/gui/qt4/menus.cpp
View file @
63631cba
...
@@ -35,8 +35,9 @@
...
@@ -35,8 +35,9 @@
#include <vlc_intf_strings.h>
#include <vlc_intf_strings.h>
#include "main_interface.hpp"
#include "menus.hpp"
#include "menus.hpp"
#include "main_interface.hpp"
/* View modifications */
#include "dialogs_provider.hpp"
#include "dialogs_provider.hpp"
#include "input_manager.hpp"
#include "input_manager.hpp"
#include "recents.hpp"
#include "recents.hpp"
...
...
modules/gui/qt4/qt4.cpp
View file @
63631cba
...
@@ -35,11 +35,11 @@
...
@@ -35,11 +35,11 @@
#include <QWaitCondition>
#include <QWaitCondition>
#include "qt4.hpp"
#include "qt4.hpp"
#include "
dialogs_provider.hpp"
#include "
input_manager.hpp"
/* THEMIM creation */
#include "
input_manager.hpp"
#include "
dialogs_provider.hpp"
/* THEDP creation */
#include "main_interface.hpp"
#include "main_interface.hpp"
/* MainInterface creation */
#include "dialogs/help.hpp"
/* u
pdate */
#include "dialogs/help.hpp"
/* Launch U
pdate */
#include "recents.hpp"
#include "recents.hpp"
/* Recents Item destruction */
#include "util/qvlcapp.hpp"
#include "util/qvlcapp.hpp"
#ifdef HAVE_X11_XLIB_H
#ifdef HAVE_X11_XLIB_H
...
...
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