X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fresizeclipcommand.h;h=8493c95d3b954a20c7dce3f7765aa2556e68bd81;hb=55f87ddd665c1ab35a7880e8e1ee9b76b8a807d8;hp=551711356e00204443de643ec9838e1f787d47a0;hpb=06fabc683a3bddc60ba59573a62458ca4f6a0ef6;p=kdenlive diff --git a/src/resizeclipcommand.h b/src/resizeclipcommand.h index 55171135..8493c95d 100644 --- a/src/resizeclipcommand.h +++ b/src/resizeclipcommand.h @@ -27,19 +27,21 @@ #include +#include "definitions.h" + class CustomTrackView; -class ResizeClipCommand : public QUndoCommand { +class ResizeClipCommand : public QUndoCommand +{ public: - ResizeClipCommand(CustomTrackView *view, const QPointF startPos, const QPointF endPos, bool resizeClipStart, bool doIt); + ResizeClipCommand(CustomTrackView *view, const ItemInfo start, const ItemInfo end, bool doIt, QUndoCommand * parent = 0); virtual void undo(); virtual void redo(); private: CustomTrackView *m_view; - QPointF m_startPos; - QPointF m_endPos; - bool m_resizeClipStart; + ItemInfo m_startPos; + ItemInfo m_endPos; bool m_doIt; };