class ChangeSpeedCommand : public QUndoCommand {
public:
- ChangeSpeedCommand(CustomTrackView *view, ItemInfo info, double old_speed, double new_speed, int clipId, bool doIt, QUndoCommand * parent = 0);
+ ChangeSpeedCommand(CustomTrackView *view, ItemInfo info, double old_speed, double new_speed, const QString &clipId, bool doIt, QUndoCommand * parent = 0);
virtual void undo();
virtual void redo();
private:
CustomTrackView *m_view;
ItemInfo m_clipInfo;
- int m_clipId;
+ QString m_clipId;
bool m_doIt;
double m_old_speed;
double m_new_speed;