Commit 6d898921 authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Replacing uint32_t by quint32

parent 5308a043
...@@ -53,7 +53,7 @@ Workflow::Workflow( MainWorkflow *mainWorkflow, Type type ) : ...@@ -53,7 +53,7 @@ Workflow::Workflow( MainWorkflow *mainWorkflow, Type type ) :
{ {
} }
Track::Track( MainWorkflow *mainWorkflow, uint32_t trackId, Track::Track( MainWorkflow *mainWorkflow, quint32 trackId,
MainWorkflow::TrackType trackType, Type type) : MainWorkflow::TrackType trackType, Type type) :
Workflow( mainWorkflow, type ), Workflow( mainWorkflow, type ),
m_trackId( trackId ), m_trackId( trackId ),
...@@ -61,7 +61,7 @@ Track::Track( MainWorkflow *mainWorkflow, uint32_t trackId, ...@@ -61,7 +61,7 @@ Track::Track( MainWorkflow *mainWorkflow, uint32_t trackId,
{ {
} }
AddClip::AddClip(MainWorkflow *mainWorkflow, uint32_t trackId, AddClip::AddClip(MainWorkflow *mainWorkflow, quint32 trackId,
MainWorkflow::TrackType trackType, Clip *clip, qint64 startingPos ) : MainWorkflow::TrackType trackType, Clip *clip, qint64 startingPos ) :
Track( mainWorkflow, trackId, trackType, Add ), Track( mainWorkflow, trackId, trackType, Add ),
m_clip( clip ), m_startingPos( startingPos ) m_clip( clip ), m_startingPos( startingPos )
...@@ -74,7 +74,7 @@ AddClip::execute() ...@@ -74,7 +74,7 @@ AddClip::execute()
m_mainWorkflow->addClip( m_clip, m_trackId, m_startingPos, m_trackType ); m_mainWorkflow->addClip( m_clip, m_trackId, m_startingPos, m_trackType );
} }
RemoveClip::RemoveClip( MainWorkflow* mainWorkflow, uint32_t trackId, RemoveClip::RemoveClip( MainWorkflow* mainWorkflow, quint32 trackId,
MainWorkflow::TrackType trackType, const QUuid& uuid ) : MainWorkflow::TrackType trackType, const QUuid& uuid ) :
Track( mainWorkflow, trackId, trackType, Remove ), Track( mainWorkflow, trackId, trackType, Remove ),
m_uuid( uuid ) m_uuid( uuid )
...@@ -87,8 +87,8 @@ RemoveClip::execute() ...@@ -87,8 +87,8 @@ RemoveClip::execute()
m_mainWorkflow->removeClip( m_uuid, m_trackId, m_trackType ); m_mainWorkflow->removeClip( m_uuid, m_trackId, m_trackType );
} }
MoveClip::MoveClip( MainWorkflow* mainWorkflow, const QUuid& uuid, uint32_t oldTrack, MoveClip::MoveClip( MainWorkflow* mainWorkflow, const QUuid& uuid, quint32 oldTrack,
uint32_t newTrack, qint64 newPos, MainWorkflow::TrackType trackType, quint32 newTrack, qint64 newPos, MainWorkflow::TrackType trackType,
bool undoRedoAction ) : bool undoRedoAction ) :
Track( mainWorkflow, oldTrack, trackType, Move ), Track( mainWorkflow, oldTrack, trackType, Move ),
m_uuid( uuid ), m_newTrack( newTrack ), m_uuid( uuid ), m_newTrack( newTrack ),
......
...@@ -108,7 +108,7 @@ Commands::MainWorkflow::ResizeClip::ResizeClip( WorkflowRenderer* renderer, cons ...@@ -108,7 +108,7 @@ Commands::MainWorkflow::ResizeClip::ResizeClip( WorkflowRenderer* renderer, cons
qint64 newBegin, qint64 newEnd, qint64 newBegin, qint64 newEnd,
qint64 oldBegin, qint64 oldEnd, qint64 oldBegin, qint64 oldEnd,
qint64 newPos, qint64 oldPos, qint64 newPos, qint64 oldPos,
uint32_t trackId, quint32 trackId,
::MainWorkflow::TrackType trackType ) : ::MainWorkflow::TrackType trackType ) :
m_renderer( renderer ), m_renderer( renderer ),
m_uuid( uuid ), m_uuid( uuid ),
...@@ -148,7 +148,7 @@ void Commands::MainWorkflow::ResizeClip::undo() ...@@ -148,7 +148,7 @@ void Commands::MainWorkflow::ResizeClip::undo()
} }
} }
Commands::MainWorkflow::SplitClip::SplitClip( WorkflowRenderer* renderer, Clip* toSplit, uint32_t trackId, Commands::MainWorkflow::SplitClip::SplitClip( WorkflowRenderer* renderer, Clip* toSplit, quint32 trackId,
qint64 newClipPos, qint64 newClipBegin, ::MainWorkflow::TrackType trackType ) : qint64 newClipPos, qint64 newClipBegin, ::MainWorkflow::TrackType trackType ) :
m_renderer( renderer ), m_renderer( renderer ),
m_toSplit( toSplit ), m_toSplit( toSplit ),
......
...@@ -108,7 +108,7 @@ namespace Commands ...@@ -108,7 +108,7 @@ namespace Commands
ResizeClip( WorkflowRenderer* renderer, const QUuid& uuid, ResizeClip( WorkflowRenderer* renderer, const QUuid& uuid,
qint64 newBegin, qint64 newEnd, qint64 oldBegin, qint64 newBegin, qint64 newEnd, qint64 oldBegin,
qint64 oldEnd, qint64 newPos, qint64 oldPos, qint64 oldEnd, qint64 newPos, qint64 oldPos,
uint32_t trackId, ::MainWorkflow::TrackType trackType ); quint32 trackId, ::MainWorkflow::TrackType trackType );
virtual void redo(); virtual void redo();
virtual void undo(); virtual void undo();
private: private:
...@@ -120,7 +120,7 @@ namespace Commands ...@@ -120,7 +120,7 @@ namespace Commands
qint64 m_oldEnd; qint64 m_oldEnd;
qint64 m_newPos; qint64 m_newPos;
qint64 m_oldPos; qint64 m_oldPos;
uint32_t m_trackId; quint32 m_trackId;
Clip* m_clip; Clip* m_clip;
::MainWorkflow::TrackType m_trackType; ::MainWorkflow::TrackType m_trackType;
bool m_undoRedoAction; bool m_undoRedoAction;
...@@ -129,7 +129,7 @@ namespace Commands ...@@ -129,7 +129,7 @@ namespace Commands
NEW_COMMAND( SplitClip ) NEW_COMMAND( SplitClip )
{ {
public: public:
SplitClip( WorkflowRenderer* renderer, Clip* toSplit, uint32_t trackId, SplitClip( WorkflowRenderer* renderer, Clip* toSplit, quint32 trackId,
qint64 newClipPos, qint64 newClipBegin, ::MainWorkflow::TrackType trackType ); qint64 newClipPos, qint64 newClipBegin, ::MainWorkflow::TrackType trackType );
~SplitClip(); ~SplitClip();
virtual void redo(); virtual void redo();
...@@ -138,7 +138,7 @@ namespace Commands ...@@ -138,7 +138,7 @@ namespace Commands
WorkflowRenderer* m_renderer; WorkflowRenderer* m_renderer;
Clip* m_toSplit; Clip* m_toSplit;
Clip* m_newClip; Clip* m_newClip;
uint32_t m_trackId; quint32 m_trackId;
qint64 m_newClipPos; qint64 m_newClipPos;
qint64 m_newClipBegin; qint64 m_newClipBegin;
::MainWorkflow::TrackType m_trackType; ::MainWorkflow::TrackType m_trackType;
......
...@@ -304,7 +304,7 @@ void TracksView::dragMoveEvent( QDragMoveEvent* event ) ...@@ -304,7 +304,7 @@ void TracksView::dragMoveEvent( QDragMoveEvent* event )
moveMediaItem( target, event->pos() ); moveMediaItem( target, event->pos() );
} }
bool TracksView::setItemOldTrack( const QUuid &uuid, uint32_t oldTrackNumber ) bool TracksView::setItemOldTrack( const QUuid &uuid, quint32 oldTrackNumber )
{ {
QList<QGraphicsItem*> sceneItems = m_scene->items(); QList<QGraphicsItem*> sceneItems = m_scene->items();
......
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