Commit 6be03728 authored by Clement CHAVANCE's avatar Clement CHAVANCE

added forward declaration when possible

parent e27e5ab5
......@@ -25,7 +25,8 @@
#include "PreferenceWidget.h"
#include "ui_AudioProjectPreferences.h"
#include <QWidget>
class QWidget;
class AudioProjectPreferences : public PreferenceWidget
{
......
......@@ -25,12 +25,12 @@
#include "PreferenceWidget.h"
#include <QObject>
#include <QFormLayout>
#include <QHash>
#include <QString>
#include <QKeySequence>
class QKeySequence;
class QWidget;
class KeyboardShortcut : public PreferenceWidget
{
......
......@@ -22,6 +22,7 @@
#include <QKeyEvent>
#include <QKeySequence>
#include <QTimer>
#include <QtDebug>
#include "KeyboardShortcutInput.h"
......
......@@ -24,7 +24,8 @@
#define KEYBOARDSHORTCUTINPUT_H
#include <QPushButton>
#include <QTimer>
class QTimer;
class KeyboardShortcutInput : public QPushButton
{
......
......@@ -21,6 +21,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#include "Panel.h"
#include <QWidget>
#include <QVBoxLayout>
#include <QButtonGroup>
......@@ -31,7 +33,6 @@
#include <QSize>
#include <QShowEvent>
#include "Panel.h"
const int Panel::M_ICON_HEIGHT = 64;
......
......@@ -25,9 +25,11 @@
#define PANEL_H
#include <QWidget>
#include <QVBoxLayout>
#include <QString>
class QVBoxLayout;
class QButtonGroup;
class QButtonGroup;
class Panel : public QWidget
......
......@@ -20,14 +20,16 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
//DEBUG
#include <QtDebug>
//!DEBUG
#include "ProjectPreferences.h"
#include "PreferenceWidget.h"
#include "SettingsManager.h"
#include <QWidget>
//DEBUG
#include <QtDebug>
//!DEBUG
ProjectPreferences::ProjectPreferences( QWidget* parent )
: PreferenceWidget( parent )
......
......@@ -26,9 +26,7 @@
#include "ui_ProjectPreferences.h"
#include "PreferenceWidget.h"
#include <QSettings>
#include <QWidget>
class QWidget;
class ProjectPreferences : public PreferenceWidget
{
......
......@@ -23,15 +23,17 @@
#include "Settings.h"
#include "PreferenceWidget.h"
#include "SettingsManager.h"
#include "Panel.h"
#include <QDialogButtonBox>
#include <QAbstractButton>
#include <QIcon>
#include <QLabel>
#include <QScrollArea>
#include <QHBoxLayout>
#include "PreferenceWidget.h"
#include "SettingsManager.h"
#include "Panel.h"
Settings::Settings( bool loadDefaults,
......
......@@ -23,7 +23,8 @@
#include "VLMCPreferences.h"
#include "SettingsManager.h"
#include "QDebug"
#include <QWidget>
#include <QtDebug>
VLMCPreferences::VLMCPreferences( QWidget *parent )
: PreferenceWidget( parent )
......
......@@ -26,9 +26,10 @@
#include "PreferenceWidget.h"
#include "ui_VLMCPreferences.h"
#include <QWidget>
#include <QSettings>
class QWidget;
class VLMCPreferences : public PreferenceWidget
{
Q_OBJECT
......
......@@ -26,7 +26,7 @@
#include "PreferenceWidget.h"
#include "ui_VideoProjectPreferences.h"
#include <QWidget>
class QWidget;
class VideoProjectPreferences : public PreferenceWidget
{
......
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