class AddTimelineClipCommand : public QUndoCommand
{
public:
- AddTimelineClipCommand(CustomTrackView *view, int clipType, QString clipName, int clipProducer, QRectF rect, bool doIt);
+ AddTimelineClipCommand(CustomTrackView *view, int clipType, QString clipName, int clipProducer, int maxDuration, QRectF rect, bool doIt);
virtual void undo();
virtual void redo();
int m_clipType;
QString m_clipName;
int m_clipProducer;
+ int m_maxDuration;
QRectF m_clipRect;
bool m_doIt;
};