X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Faddtimelineclipcommand.h;h=c09638c8fb8e97dd219b600c4601a63eb94c6e5b;hb=a04d51e10a7b1fcfde9407fbab1feb1be6b568e7;hp=8c060c1c992efc9ed9cf0f491c3beea2632b751c;hpb=6ebc4a2b41a1ac5c1edcdbe927bd8011f66d4834;p=kdenlive diff --git a/src/addtimelineclipcommand.h b/src/addtimelineclipcommand.h index 8c060c1c..c09638c8 100644 --- a/src/addtimelineclipcommand.h +++ b/src/addtimelineclipcommand.h @@ -28,23 +28,21 @@ #include #include "gentime.h" +#include "definitions.h" class CustomTrackView; class AddTimelineClipCommand : public QUndoCommand { public: - AddTimelineClipCommand(CustomTrackView *view, QDomElement xml, int clipId, int track, GenTime startpos, QRectF rect, GenTime duration, bool doIt, bool doRemove); + AddTimelineClipCommand(CustomTrackView *view, QDomElement xml, int clipId, ItemInfo info, bool doIt, bool doRemove, QUndoCommand * parent = 0); virtual void undo(); virtual void redo(); private: CustomTrackView *m_view; - GenTime m_clipDuration; + ItemInfo m_clipInfo; int m_clipId; QDomElement m_xml; - int m_clipTrack; - GenTime m_clipPos; - QRectF m_clipRect; bool m_doIt; bool m_remove; };