]> git.sesse.net Git - kdenlive/blobdiff - src/addtimelineclipcommand.h
More work on timeline widget
[kdenlive] / src / addtimelineclipcommand.h
index ad907a0211d7aafa9fa132b26d69bbfe3ef7700f..e163d810bf3644ba4923ba54067cde2c0553021d 100644 (file)
 class AddTimelineClipCommand : public QUndoCommand
  {
  public:
-     AddTimelineClipCommand(CustomTrackView *view, int clipType, QString clipName, int clipProducer, int maxDuration, QRectF rect, bool doIt);
+     AddTimelineClipCommand(CustomTrackView *view, QDomElement xml, int track, int startpos, QRectF rect, int duration, bool doIt);
     virtual void undo();
     virtual void redo();
 
  private:
      CustomTrackView *m_view;
-     int m_clipType;
-     QString m_clipName;
-     int m_clipProducer;
-     int m_maxDuration;
+     int m_clipDuration;
+     QDomElement m_xml;
+     int m_clipTrack;
+     int m_clipPos;
      QRectF m_clipRect;
      bool m_doIt;
  };