class AddMarkerCommand : public QUndoCommand
{
public:
- AddMarkerCommand(CustomTrackView *view, const QString &oldcomment, const QString &comment, const QString &id, const GenTime &pos, QUndoCommand * parent = 0);
+ AddMarkerCommand(CustomTrackView *view, const CommentedTime oldMarker, const CommentedTime newMarker, const QString &id, QUndoCommand * parent = 0);
virtual void undo();
virtual void redo();
private:
CustomTrackView *m_view;
- QString m_oldcomment;
- QString m_comment;
+ CommentedTime m_oldMarker;
+ CommentedTime m_newMarker;
QString m_id;
- GenTime m_pos;
};
#endif