Commit 63631cba authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: Remove some dialogs_provider.hpp and input_manager.hpp dependencies.

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent dcaffea5
......@@ -33,7 +33,7 @@
#include "components/controller_widget.hpp"
#include "components/interface_widgets.hpp"
#include "dialogs_provider.hpp"
#include "dialogs_provider.hpp" /* Opening Dialogs */
#include "input_manager.hpp"
#include "util/input_slider.hpp" /* InputSlider */
......
......@@ -36,7 +36,6 @@
#include "components/extended_panels.hpp"
#include "dialogs/preferences.hpp"
#include "dialogs_provider.hpp"
#include "qt4.hpp"
#include "input_manager.hpp"
......
......@@ -30,7 +30,6 @@
#include "components/interface_widgets.hpp"
#include "input_manager.hpp" /* Rate control */
#include "menus.hpp" /* Popup menu on bgWidget */
#include <vlc_vout.h>
......
......@@ -30,8 +30,8 @@
# include "config.h"
#endif
#include "main_interface.hpp"
#include "input_manager.hpp"
#include "main_interface.hpp" /* Interface integration */
#include "input_manager.hpp" /* Speed control */
#include "components/controller.hpp"
#include "components/controller_widget.hpp"
......
......@@ -33,7 +33,7 @@
#include "qt4.hpp"
#include "components/open_panels.hpp"
#include "dialogs/open.hpp"
#include "dialogs_provider.hpp"
#include "dialogs_provider.hpp" /* Open Subtitle file */
#include <QFileDialog>
#include <QDialogButtonBox>
......
......@@ -29,7 +29,9 @@
#include "components/playlist/panels.hpp"
#include "components/playlist/selector.hpp"
#include "components/playlist/playlist.hpp"
#include "input_manager.hpp" /* art signal */
#include "main_interface.hpp" /* DropEvent TODO remove this*/
#include <QSettings>
#include <QLabel>
......@@ -132,13 +134,12 @@ PlaylistWidget::~PlaylistWidget()
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 )
p_intf->p_sys->p_mi->dropEventPlay( event, false );
}
void PlaylistWidget::dragEnterEvent(QDragEnterEvent *event)
void PlaylistWidget::dragEnterEvent( QDragEnterEvent *event )
{
event->acceptProposedAction();
}
......
......@@ -30,9 +30,9 @@
# include "config.h"
#endif
#include <vlc_common.h>
#include "qt4.hpp"
#include "dialogs_provider.hpp"
#include "dialogs_provider.hpp" /* Media Info from ArtLabel */
#include "components/interface_widgets.hpp"
#include <QSplitter>
......
......@@ -19,12 +19,12 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "dialogs/bookmarks.hpp"
#include "dialogs_provider.hpp"
#include "input_manager.hpp"
#include <QGridLayout>
......
/*****************************************************************************
* extended.cpp : Extended controls - Undocked
****************************************************************************
* Copyright (C) 2006 the VideoLAN team
* Copyright (C) 2006-2008 the VideoLAN team
* $Id$
*
* Authors: Clément Stenac <zorglub@videolan.org>
......@@ -26,9 +26,8 @@
#endif
#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 <QTabWidget>
......
......@@ -26,8 +26,6 @@
#include "dialogs/gototime.hpp"
#include "dialogs_provider.hpp"
#include "main_interface.hpp"
#include "input_manager.hpp"
#include <QTabWidget>
......
......@@ -26,19 +26,16 @@
# include "config.h"
#endif
#include <vlc_common.h>
#include "dialogs/help.hpp"
#include <vlc_common.h>
#include <vlc_about.h>
#include <vlc_intf_strings.h>
#ifdef UPDATE_CHECK
#include <vlc_update.h>
# include <vlc_update.h>
#endif
#include "dialogs_provider.hpp"
#include <vlc_intf_strings.h>
#include <QTextBrowser>
#include <QTabWidget>
#include <QLabel>
......
......@@ -27,7 +27,6 @@
#include "dialogs/errors.hpp"
#include "dialogs/interaction.hpp"
#include "main_interface.hpp"
#include <QLabel>
#include <QLineEdit>
......
......@@ -27,7 +27,6 @@
#include "dialogs/mediainfo.hpp"
#include "input_manager.hpp"
#include "dialogs_provider.hpp"
#include <QTabWidget>
#include <QGridLayout>
......
......@@ -25,9 +25,7 @@
#endif
#include "dialogs/messages.hpp"
#include "dialogs_provider.hpp"
#include <QSpacerItem>
#include <QSpinBox>
#include <QLabel>
#include <QTextEdit>
......
/*****************************************************************************
* open.cpp : Advanced open dialog
*****************************************************************************
* Copyright © 2006-2007 the VideoLAN team
* Copyright © 2006-2008 the VideoLAN team
* $Id$
*
* Authors: Jean-Baptiste Kempf <jb@videolan.org>
......@@ -24,10 +24,11 @@
# include "config.h"
#endif
#include "input_manager.hpp"
#include "dialogs/open.hpp"
#include "input_manager.hpp"
#include "dialogs_provider.hpp"
#include "recents.hpp"
#include <QTabWidget>
......
......@@ -31,7 +31,6 @@
#include <vlc_common.h>
#include "util/qvlcframe.hpp"
#include "dialogs_provider.hpp"
#include "ui/open.h"
#include "components/open_panels.hpp"
......
......@@ -26,17 +26,10 @@
#include "dialogs/playlist.hpp"
#include "main_interface.hpp"
#include "components/playlist/playlist.hpp"
#include "dialogs_provider.hpp"
#include "menus.hpp"
#include <QUrl>
#include <QHBoxLayout>
#include <QSignalMapper>
#include <QMenu>
#include <QAction>
#include <QMenuBar>
PlaylistDialog *PlaylistDialog::instance = NULL;
......
......@@ -27,7 +27,6 @@
#endif
#include "dialogs/preferences.hpp"
#include "dialogs_provider.hpp"
#include "util/qvlcframe.hpp"
#include "components/complete_preferences.hpp"
......@@ -36,9 +35,7 @@
#include <QHBoxLayout>
#include <QGroupBox>
#include <QRadioButton>
#include <QVBoxLayout>
#include <QPushButton>
#include <QCheckBox>
#include <QMessageBox>
#include <QDialogButtonBox>
......
......@@ -31,7 +31,6 @@
#include "qt4.hpp"
#include "dialogs_provider.hpp"
#include "main_interface.hpp"
#include "menus.hpp"
#include "input_manager.hpp"
#include "recents.hpp"
......
......@@ -22,13 +22,15 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "qt4.hpp"
#include "input_manager.hpp"
#include "dialogs_provider.hpp"
#include <QApplication>
static int ItemChanged( vlc_object_t *, const char *,
vlc_value_t, vlc_value_t, void * );
......@@ -616,7 +618,6 @@ MainInputManager::MainInputManager( intf_thread_t *_p_intf )
var_Change( THEPL, "playlist-current", VLC_VAR_CHOICESCOUNT, &val, NULL );
IMEvent *event = new IMEvent( ItemChanged_Type, val.i_int);
QApplication::postEvent( this, static_cast<QEvent*>(event) );
}
MainInputManager::~MainInputManager()
......
......@@ -33,7 +33,6 @@
#include "util/qvlcframe.hpp"
#include "util/qvlcapp.hpp"
#include "util/customwidgets.hpp"
#include "dialogs_provider.hpp"
#include "components/interface_widgets.hpp"
#include "components/controller.hpp"
#include "components/playlist/playlist.hpp"
......
......@@ -35,8 +35,9 @@
#include <vlc_intf_strings.h>
#include "main_interface.hpp"
#include "menus.hpp"
#include "main_interface.hpp" /* View modifications */
#include "dialogs_provider.hpp"
#include "input_manager.hpp"
#include "recents.hpp"
......
......@@ -35,11 +35,11 @@
#include <QWaitCondition>
#include "qt4.hpp"
#include "dialogs_provider.hpp"
#include "input_manager.hpp"
#include "main_interface.hpp"
#include "dialogs/help.hpp" /* update */
#include "recents.hpp"
#include "input_manager.hpp" /* THEMIM creation */
#include "dialogs_provider.hpp" /* THEDP creation */
#include "main_interface.hpp" /* MainInterface creation */
#include "dialogs/help.hpp" /* Launch Update */
#include "recents.hpp" /* Recents Item destruction */
#include "util/qvlcapp.hpp"
#ifdef HAVE_X11_XLIB_H
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment