class RebuildGroupCommand : public QUndoCommand
{
public:
- RebuildGroupCommand(CustomTrackView *view, int childTrack, GenTime childPos, QUndoCommand* parent = 0);
- virtual void undo();
- virtual void redo();
+ RebuildGroupCommand(CustomTrackView *view, int childTrack, const GenTime &childPos, QUndoCommand* parent = 0);
+ void undo();
+ void redo();
private:
CustomTrackView *m_view;