Commit 3c5fdfa0 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Removing non Q_OBJECT class from CMakeLists + fixing UserType in GraphicsAudioItem

parent ed075a2a
......@@ -60,9 +60,6 @@ ENDIF(WIN32)
SET (VLMC_HDRS
EffectsEngine/EffectsEngine.h
EffectsEngine/Effect.h
EffectsEngine/EffectUser.h
EffectsEngine/EffectInstance.h
EffectsEngine/EffectSettingValue.h
Library/Library.h
Library/MediaContainer.h
......@@ -231,7 +228,6 @@ ELSE(NOT WITH_GUI)
Gui/UndoStack.h
Gui/WorkflowFileRendererDialog.h
Gui/effectsengine/EffectInstanceWidget.h
Gui/effectsengine/EffectInstanceListModel.h
Gui/effectsengine/EffectsList.h
Gui/effectsengine/EffectsListView.h
Gui/effectsengine/EffectStack.h
......@@ -270,10 +266,7 @@ ELSE(NOT WITH_GUI)
Gui/settings/StringWidget.h
Gui/timeline/AbstractGraphicsItem.h
Gui/timeline/AbstractGraphicsMediaItem.h
Gui/timeline/GraphicsAudioItem.h
Gui/timeline/GraphicsCursorItem.h
Gui/timeline/GraphicsEffectItem.h
Gui/timeline/GraphicsMovieItem.h
Gui/timeline/GraphicsTrack.h
Gui/timeline/Timeline.h
Gui/timeline/TracksControls.h
......
......@@ -26,7 +26,6 @@
#include "EffectsEngine.h"
class EffectUser;
#include <QAbstractListModel>
class EffectInstanceListModel : public QAbstractListModel
......
......@@ -33,12 +33,11 @@
*/
class GraphicsAudioItem : public AbstractGraphicsMediaItem
{
Q_OBJECT
public:
/**
* \brief See http://doc.trolltech.com/4.5/qgraphicsitem.html#type
*/
enum { Type = UserType + 1 };
enum { Type = UserType + 4 };
GraphicsAudioItem( Clip* clip );
GraphicsAudioItem( ClipHelper *ch );
virtual ~GraphicsAudioItem();
......
......@@ -33,7 +33,6 @@ class Clip;
*/
class GraphicsMovieItem : public AbstractGraphicsMediaItem
{
Q_OBJECT
public:
/**
* \brief See http://doc.trolltech.com/4.5/qgraphicsitem.html#type
......
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