Commit a65e67d9 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: use forward declaration when possible and remove includes

parent 846c422c
...@@ -44,6 +44,7 @@ ...@@ -44,6 +44,7 @@
#include <QDesktopWidget> #include <QDesktopWidget>
#include <QPainter> #include <QPainter>
#include <QTimer> #include <QTimer>
#include <QSlider>
#ifdef Q_WS_X11 #ifdef Q_WS_X11
# include <X11/Xlib.h> # include <X11/Xlib.h>
...@@ -60,6 +61,7 @@ static void videoSync( void ) ...@@ -60,6 +61,7 @@ static void videoSync( void )
#endif #endif
#include <math.h> #include <math.h>
#include <assert.h>
class ReparentableWidget : public QWidget class ReparentableWidget : public QWidget
{ {
......
...@@ -45,6 +45,7 @@ class ResizeEvent; ...@@ -45,6 +45,7 @@ class ResizeEvent;
class QPixmap; class QPixmap;
class QHBoxLayout; class QHBoxLayout;
class QMenu; class QMenu;
class QSlider;
class ReparentableWidget; class ReparentableWidget;
/******************** Video Widget ****************/ /******************** Video Widget ****************/
......
...@@ -36,11 +36,14 @@ ...@@ -36,11 +36,14 @@
#include <QLabel> #include <QLabel>
#include <QComboBox> #include <QComboBox>
#include <QListWidget> #include <QListWidget>
#include <QSpinBox>
#include <QDragEnterEvent> #include <QDragEnterEvent>
#include <QDialogButtonBox> #include <QDialogButtonBox>
#include <QInputDialog> #include <QInputDialog>
#include <assert.h>
ToolbarEditDialog::ToolbarEditDialog( QWidget *_w, intf_thread_t *_p_intf) ToolbarEditDialog::ToolbarEditDialog( QWidget *_w, intf_thread_t *_p_intf)
: QVLCDialog( _w, _p_intf ) : QVLCDialog( _w, _p_intf )
{ {
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
#include "qt4.hpp" #include "qt4.hpp"
#include "util/qvlcframe.hpp" #include "util/qvlcframe.hpp"
#include "components/preferences_widgets.hpp" /* First Start */
#ifdef WIN32 #ifdef WIN32
#include <vlc_windows_interfaces.h> #include <vlc_windows_interfaces.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