qt4 - Include cleanup.
authorJean-Baptiste Kempf <jb@videolan.org>
Sat, 2 Jun 2007 19:11:19 +0000 (19:11 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 2 Jun 2007 19:11:19 +0000 (19:11 +0000)
23 files changed:
modules/gui/qt4/components/complete_preferences.hpp
modules/gui/qt4/components/extended_panels.hpp
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/interface_widgets.hpp
modules/gui/qt4/components/open.hpp
modules/gui/qt4/components/preferences_widgets.cpp
modules/gui/qt4/components/preferences_widgets.hpp
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.hpp
modules/gui/qt4/dialogs/extended.cpp
modules/gui/qt4/dialogs/extended.hpp
modules/gui/qt4/dialogs/interaction.hpp
modules/gui/qt4/dialogs/mediainfo.hpp
modules/gui/qt4/dialogs/open.hpp
modules/gui/qt4/dialogs/playlist.hpp
modules/gui/qt4/dialogs/sout.hpp
modules/gui/qt4/dialogs_provider.hpp
modules/gui/qt4/input_manager.hpp
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.hpp
modules/gui/qt4/menus.hpp
modules/gui/qt4/playlist_model.hpp
modules/gui/qt4/qt4.hpp

index bcf653a..4a7ea71 100644 (file)
 #ifndef _PREFSTREE_H_
 #define _PREFSTREE_H_
 
-#include <QTreeWidget>
 #include <vlc/vlc.h>
 #include <vlc_interface.h>
 
+#include <QTreeWidget>
+
 enum
 {
     TYPE_CATEGORY,
index 4943ec7..ee0b93a 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <vlc/vlc.h>
 #include <vlc_aout.h>
+
 #include "ui/equalizer.h"
 #include "ui/video_effects.h"
 
index 1ae3206..395ca9c 100644 (file)
@@ -35,6 +35,8 @@
 #include <QPushButton>
 #include <QHBoxLayout>
 #include <QMenu>
+#include <QPalette>
+#include <QResizeEvent>
 
 #define ICON_SIZE 128
 
index 3f0946c..16a1dd4 100644 (file)
 
 #include <QWidget>
 #include <QFrame>
-#include <QPalette>
-#include <QResizeEvent>
-#include <QPixmap>
 
+class ResizeEvent;
+class QPalette;
+class QPixmap;
 class QLabel;
 class QHBoxLayout;
 
index efabcb4..4436861 100644 (file)
@@ -26,6 +26,7 @@
 #define _OPENPANELS_H_
 
 #include <vlc/vlc.h>
+
 #include <QFileDialog>
 
 #include "ui/open_file.h"
index 2174813..0834f3c 100644 (file)
 #include "util/customwidgets.hpp"
 #include "qt4.hpp"
 
-#include <QLineEdit>
+#include <vlc_keys.h>
+
 #include <QString>
-#include <QSpinBox>
-#include <QDoubleSpinBox>
 #include <QVariant>
-#include <QComboBox>
 #include <QGridLayout>
-#include <QPushButton>
 #include <QSlider>
 #include <QFileDialog>
 #include <QFontDialog>
 #include <QGroupBox>
-
-#include <vlc_keys.h>
-
+#include <QTreeWidgetItem>
 
 QString formatTooltip(const QString & tooltip)
 {
index 3666f22..4bb91ec 100644 (file)
 
 #ifndef _INFOPANELS_H_
 #define _INFOPANELS_H_
+
 #include <vlc/vlc.h>
+
+#include "qt4.hpp"
+#include <assert.h>
+
 #include <QWidget>
-#include <QTreeWidget>
+
+#include <QCheckBox>
+#include <QComboBox>
 #include <QLineEdit>
+#include <QTreeWidget>
 #include <QSpinBox>
+#include <QLabel>
 #include <QDoubleSpinBox>
-#include <QComboBox>
-#include <QCheckBox>
+#include <QPushButton>
 #include <QVector>
 #include <QDialog>
-#include <QLabel>
-#include <QFile>
-#include <QPushButton>
-#include <QGroupBox>
 
-#include "qt4.hpp"
-#include <assert.h>
 
+class QFile;
+class QTreeWidget;
+class QTreeWidgetItem;
+class QGroupBox;
 class QGridLayout;
 
 class ConfigControl : public QObject
index 5833c07..52cf056 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#include <QString>
-#include <QFont>
-#include <QToolButton>
-#include <QButtonGroup>
-#include <QUrl>
-
 #include "components/simple_preferences.hpp"
 #include "components/preferences_widgets.hpp"
 #include "qt4.hpp"
 
-#include <vlc_config_cat.h>
-
 #include "ui/sprefs_audio.h"
 #include "ui/sprefs_input.h"
 #include "ui/sprefs_video.h"
 #include "ui/sprefs_hotkeys.h"
 #include "ui/sprefs_interface.h"
 
+#include <vlc_config_cat.h>
+
+#include <QString>
+#include <QFont>
+#include <QToolButton>
+#include <QButtonGroup>
+#include <QUrl>
+#include <QVBoxLayout>
+
 #define ICON_HEIGHT 64
 #define BUTTON_HEIGHT 74
 
index 39d5756..f495fc0 100644 (file)
 #ifndef _SIMPLEPREFS_H_
 #define _SIMPLEPREFS_H_
 
-#include <QListWidget>
-#include <QVBoxLayout>
 #include <vlc/vlc.h>
 #include <vlc_interface.h>
 
+#include <QWidget>
+
 enum {
     SPrefsInterface = 0,
     SPrefsAudio,
index fc9c85d..f82f49a 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#include <QTabWidget>
-#include <QBoxLayout>
-
+#include "qt4.hpp"
 #include "dialogs/extended.hpp"
 #include "dialogs_provider.hpp"
 #include "util/qvlcframe.hpp"
 #include "components/extended_panels.hpp"
-#include "qt4.hpp"
+
+#include <QTabWidget>
+#include <QBoxLayout>
+#include <QHBoxLayout>
 
 ExtendedDialog *ExtendedDialog::instance = NULL;
 
index 23af755..d237e62 100644 (file)
  *
  * You should have received a copy of the GNU General Public License
  * 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.
  *****************************************************************************/
 
 #ifndef _EXTENDED_DIALOG_H_
 #define _EXTENDED_DIALOG_H_
 
 #include "util/qvlcframe.hpp"
-#include <QHBoxLayout>
 
 class ExtendedDialog : public QVLCFrame
 {
index 10090d7..ddf247f 100644 (file)
@@ -18,7 +18,7 @@
  *
  * You should have received a copy of the GNU General Public License
  * 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.
  *****************************************************************************/
 
 #ifndef _INTERACTION_H_
@@ -26,6 +26,7 @@
 
 #include <vlc/vlc.h>
 #include <vlc_interface.h>
+
 #include <QWidget>
 
 class QPushButton;
index 5007e41..3125490 100644 (file)
@@ -26,9 +26,8 @@
 #define _MEDIAINFO_DIALOG_H_
 
 #include "util/qvlcframe.hpp"
-#include <QTabWidget>
-#include <QBoxLayout>
 
+class QTabWidget;
 class InfoTab;
 
 class MediaInfoDialog : public QVLCFrame
index 9df5d63..434958e 100644 (file)
@@ -28,7 +28,6 @@
 
 #include "util/qvlcframe.hpp"
 #include "dialogs_provider.hpp"
-
 #include "ui/open.h"
 #include "components/open.hpp"
 
index 432b631..2f0724e 100644 (file)
  *
  * You should have received a copy of the GNU General Public License
  * 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.
  *****************************************************************************/
 
 #ifndef _PLAYLIST_DIALOG_H_
 #define _PLAYLIST_DIALOG_H_
 
-#include <QModelIndex>
 #include "util/qvlcframe.hpp"
 
+#include <QModelIndex>
+
 class QSignalMapper;
 class PLSelector;
 class PLPanel;
index fd51860..6540eef 100644 (file)
@@ -23,7 +23,9 @@
 
 #ifndef _SOUT_DIALOG_H_
 #define _SOUT_DIALOG_H_
+
 #include <vlc/vlc.h>
+
 #include "ui/sout.h"
 #include "util/qvlcframe.hpp"
 
index dc135ef..3d66c4d 100644 (file)
 #ifndef _DIALOGS_PROVIDER_H_
 #define _DIALOGS_PROVIDER_H_
 
-#include <QObject>
-#include <QTimer>
-#include <QApplication>
-
-#include "dialogs/interaction.hpp"
-
 #include <assert.h>
 #include <vlc/vlc.h>
 #include <vlc_interface.h>
 
+#include "dialogs/interaction.hpp"
+
+#include <QObject>
+#include <QTimer>
+#include <QApplication>
+
 #define EXT_FILTER_MEDIA        0x01
 #define EXT_FILTER_VIDEO        0x02
 #define EXT_FILTER_AUDIO        0x04
index 93ef535..da6a8fd 100644 (file)
 #ifndef _INPUT_MANAGER_H_
 #define _INPUT_MANAGER_H_
 
-#include <QObject>
 #include <vlc/vlc.h>
 #include <vlc_input.h>
 
+#include <QObject>
+
 class InputManager : public QObject
 {
     Q_OBJECT;
index 76d954e..35311a4 100644 (file)
@@ -18,7 +18,7 @@
  *
  * You should have received a copy of the GNU General Public License
  * 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.
  *****************************************************************************/
 
 #include "qt4.hpp"
@@ -39,6 +39,8 @@
 #include <QKeyEvent>
 #include <QUrl>
 #include <QSystemTrayIcon>
+#include <QSize>
+#include <QMenu>
 
 #include <assert.h>
 #include <vlc_keys.h>
index 5c7a6c2..1505cf6 100644 (file)
  *
  * You should have received a copy of the GNU General Public License
  * 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.
  *****************************************************************************/
 
 #ifndef _MAIN_INTERFACE_H_
 #define _MAIN_INTERFACE_H_
 
+
 #include "qt4.hpp"
-#include <vlc_aout.h>
 #include "ui/main_interface.h"
 #include "util/qvlcframe.hpp"
 
-#include <QSize>
+#include <vlc_aout.h>
+
 #include <QSystemTrayIcon>
-#include <QMenu>
 
 class QSettings;
 class QCloseEvent;
@@ -47,6 +47,7 @@ class VolumeClickHandler;
 class VisualSelector;
 class ControlsWidget;
 class QMenu;
+class QSize;
 
 class MainInterface : public QVLCMW
 {
index 015c26d..7ba9444 100644 (file)
@@ -24,6 +24,7 @@
 #define _MENUS_H_
 
 #include "qt4.hpp"
+
 #include <QObject>
 #include <vector>
 
index 5909fbc..d98da47 100644 (file)
 #ifndef _PLAYLIST_MODEL_H_
 #define _PLAYLIST_MODEL_H_
 
+#include <vlc/vlc.h>
+#include <vlc_input.h>
+#include <vlc_playlist.h>
+
 #include <QModelIndex>
 #include <QObject>
 #include <QEvent>
 #include <QMimeData>
 
-#include <vlc/vlc.h>
-#include <vlc_input.h>
-#include <vlc_playlist.h>
-
 class PLModel;
 
 class PLItem
index 266d4f4..1a84ede 100644 (file)
@@ -27,6 +27,7 @@
 #include <vlc/vlc.h>
 #include <vlc_interface.h>
 #include <vlc_playlist.h>
+
 #include <QEvent>
 
 class QApplication;