Commit 916264db authored by Ludovic Fauvet's avatar Ludovic Fauvet
Browse files

Clean up include files.

parent 58ee2fbf
......@@ -20,10 +20,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#include <QApplication>
#include <QFile>
#include <QString>
#include <QCoreApplication>
#include <QtDebug>
#include <QPlainTextEdit>
#include "About.h"
About* About::m_instance = NULL;
......
......@@ -23,10 +23,11 @@
#ifndef ABOUT_H
#define ABOUT_H
#include <QApplication>
#include <QPlainTextEdit>
#include <QDialog>
#include "ui_About.h"
class QPlainTextEdit;
class About : public QDialog
{
Q_OBJECT
......
......@@ -23,6 +23,7 @@
#include "AbstractGraphicsMediaItem.h"
#include "TracksView.h"
#include "Clip.h"
#include "Commands.h"
AbstractGraphicsMediaItem::AbstractGraphicsMediaItem() :
......
......@@ -25,13 +25,12 @@
#include <QGraphicsItem>
#include <QUuid>
#include <QCursor>
#include "GraphicsTrack.hpp"
#include "Clip.h"
#define RESIZE_ZONE 7
class TracksView;
class Clip;
class AbstractGraphicsMediaItem : public QObject, public QGraphicsItem
{
......
......@@ -22,8 +22,10 @@
#include <QtDebug>
#include <QApplication>
#include <QMap>
#include <QDockWidget>
#include "DockWidgetManager.h"
#include "MainWindow.h"
DockWidgetManager *DockWidgetManager::m_instance = 0;
......
......@@ -28,7 +28,6 @@
#include <QDockWidget>
#include <QString>
#include <QMap>
#include "MainWindow.h"
class MainWindow;
......
......@@ -24,6 +24,7 @@
#include <QLinearGradient>
#include <QDebug>
#include <QTime>
#include <QFontMetrics>
#include "GraphicsMovieItem.h"
#include "TracksView.h"
#include "Timeline.h"
......
......@@ -23,7 +23,6 @@
#ifndef GRAPHICSMOVIEITEM_H
#define GRAPHICSMOVIEITEM_H
#include <QFontMetrics>
#include "AbstractGraphicsMediaItem.h"
#include "Clip.h"
#include "TracksView.h"
......
......@@ -20,11 +20,16 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#include <QTime>
#include "Import.h"
#include "ui_Import.h"
#include "PreviewWidget.h"
#include "TagWidget.h"
#include "ImportMediaCellView.h"
#include "Media.h"
#include "ClipRenderer.h"
#include "Library.h"
#include "QTime"
Import::Import(QWidget *parent) :
QDialog( parent ), m_ui( new Ui::Import )
......
......@@ -24,10 +24,11 @@
#define IMPORT_H
#include <QDialog>
#include "PreviewWidget.h"
#include "Media.h"
#include "TagWidget.h"
#include "ImportMediaCellView.h"
class PreviewWidget;
class TagWidget;
class ImportMediaCellView;
class Media;
namespace Ui
{
......
......@@ -37,12 +37,19 @@
#include "MainWindow.h"
#include "Library.h"
#include "Timeline.h"
#include "TracksView.h"
#include "About.h"
#include "DockWidgetManager.h"
#include "ImportController.h"
#include "MainWorkflow.h"
#include "WorkflowFileRenderer.h"
#include "WorkflowRenderer.h"
#include "ClipRenderer.h"
#include "EffectsEngine.h"
#include "UndoStack.h"
#include "ClipProperty.h"
#include "PreviewWidget.h"
#include "ProjectWizard.h"
#include "PreferenceWidget.h"
#include "ProjectPreferences.h"
#include "ProjectManager.h"
......@@ -56,6 +63,7 @@
#include "LanguagePreferences.h"
#include "ProjectManager.h"
#include "KeyboardShortcut.h"
#include "Settings.h"
#include "SettingValue.h"
#include "SettingsManager.h"
#include "VlmcDebug.h"
......
......@@ -31,16 +31,12 @@
#include "vlmc.h"
#include "ui_MainWindow.h"
#include "DockWidgetManager.h"
#include "LanguagePreferences.h"
#include "Timeline.h"
#include "WorkflowFileRenderer.h"
#include "PreviewWidget.h"
#include "Settings.h"
#include "EffectsEngine.h"
#include "MainWorkflow.h"
#include "ProjectWizard.h"
#include "ImportController.h"
class Timeline;
class PreviewWidget;
class Settings;
class ProjectWizard;
class ImportController;
class WorkflowFileRenderer;
class MainWindow : public QMainWindow
{
......
/*****************************************************************************
* PreviewRuler.h : Slider/Ruler used into the PreviewWidget
* with backward compatibility with QAbstractSlider.
*****************************************************************************
* Copyright (C) 2008-2009 the VLMC team
*
......@@ -24,9 +23,8 @@
#ifndef PREVIEWRULER_H
#define PREVIEWRULER_H
#include <QAbstractSlider>
#include <QWidget>
#include <QPaintEvent>
#include <QPainter>
#include "GenericRenderer.h"
#define MARK_XSMALL 3
......
......@@ -21,12 +21,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#include <QUrl>
#include <QtDebug>
#include <QMetaMethod>
#include "PreviewWidget.h"
#include "ui_PreviewWidget.h"
#include "Library.h"
#include "ClipRenderer.h"
PreviewWidget::PreviewWidget( GenericRenderer* genericRenderer, QWidget *parent ) :
......
......@@ -26,9 +26,10 @@
#include <QWidget>
#include "Workflow/MainWorkflow.h"
#include "GenericRenderer.h"
#include "PreviewRuler.h"
class GenericRenderer;
namespace Ui {
class PreviewWidget;
}
......
......@@ -26,6 +26,9 @@
#include "Timeline.h"
#include "TracksView.h"
#include "TracksScene.h"
#include "TracksControls.h"
#include "TracksRuler.h"
#include "WorkflowRenderer.h"
Timeline* Timeline::m_instance = NULL;
......
......@@ -25,13 +25,13 @@
#include "vlmc.h"
#include "ui_Timeline.h"
#include "TracksRuler.h"
#include "TracksControls.h"
#include "Workflow/MainWorkflow.h"
#include "WorkflowRenderer.h"
class TracksScene;
class TracksView;
class TracksControls;
class TracksRuler;
class WorkflowRenderer;
class Timeline : public QWidget
{
......
......@@ -25,7 +25,6 @@
#include <QWheelEvent>
#include <QGraphicsLinearLayout>
#include <QGraphicsWidget>
#include <QGraphicsSceneDragDropEvent>
#include <QtDebug>
#include "TracksView.h"
#include "Library.h"
......@@ -33,6 +32,7 @@
#include "GraphicsCursorItem.h"
#include "Commands.h"
#include "GraphicsTrack.hpp"
#include "WorkflowRenderer.h"
TracksView::TracksView( QGraphicsScene* scene, MainWorkflow* mainWorkflow, WorkflowRenderer* renderer, QWidget* parent )
: QGraphicsView( scene, parent ), m_scene( scene ), m_mainWorkflow( mainWorkflow ),
......
......@@ -25,22 +25,18 @@
#include <QWidget>
#include <QGraphicsView>
#include <QGraphicsLineItem>
#include <QGraphicsLinearLayout>
#include <QGraphicsWidget>
#include <QWheelEvent>
#include <QGraphicsSceneDragDropEvent>
#include <QApplication>
#include <QVector>
#include "vlmc.h"
#include "GraphicsCursorItem.h"
#include "MainWorkflow.h"
#include "TrackWorkflow.h"
#include "AbstractGraphicsMediaItem.h"
#include "WorkflowRenderer.h"
#include "GraphicsCursorItem.h"
class QWheelEvent;
class QGraphicsWidget;
class QGraphicsLinearLayout;
class GraphicsMovieItem;
class TracksScene;
class GraphicsMovieItem;
class WorkflowRenderer;
class TracksView : public QGraphicsView
{
......
......@@ -21,6 +21,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#include <QUndoStack>
#include <QUndoCommand>
#include "UndoStack.h"
#include "ProjectManager.h"
#include "SettingsManager.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