X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fresizeclipcommand.h;h=9b5a4ae6bbc164ae54a1eb59c5242419e1d5db23;hb=fec4b6aba639dac658d35475512c6f232c8aebe3;hp=8b575f0fe807dbf88fb53d618b40473a29af6da7;hpb=f6e50cc80312002481d8e5cc27cf15d082c59cfd;p=kdenlive diff --git a/src/resizeclipcommand.h b/src/resizeclipcommand.h index 8b575f0f..9b5a4ae6 100644 --- a/src/resizeclipcommand.h +++ b/src/resizeclipcommand.h @@ -27,23 +27,24 @@ #include -#include "projectlist.h" -#include "customtrackview.h" +#include "definitions.h" + +class CustomTrackView; class ResizeClipCommand : public QUndoCommand - { - public: - ResizeClipCommand(CustomTrackView *view, const QPointF startPos, const QPointF endPos, bool resizeClipStart, bool doIt); +{ +public: + ResizeClipCommand(CustomTrackView *view, const ItemInfo start, const ItemInfo end, bool doIt, bool dontWorry, QUndoCommand * parent = 0); virtual void undo(); virtual void redo(); - private: - CustomTrackView *m_view; - QPointF m_startPos; - QPointF m_endPos; - bool m_resizeClipStart; - bool m_doIt; - }; +private: + CustomTrackView *m_view; + ItemInfo m_startPos; + ItemInfo m_endPos; + bool m_doIt; + bool m_dontWorry; +}; #endif