#define CONFIGTRACKSCOMMAND_H
#include <QUndoCommand>
-#include <QGraphicsView>
-#include <QPointF>
#include "definitions.h"
class ConfigTracksCommand : public QUndoCommand
{
public:
- ConfigTracksCommand(CustomTrackView *view, QList <TrackInfo> oldInfos, QList <TrackInfo> newInfos, QUndoCommand * parent = 0);
- virtual void undo();
- virtual void redo();
+ ConfigTracksCommand(CustomTrackView *view, const QList <TrackInfo> &oldInfos, const QList <TrackInfo> &newInfos, QUndoCommand * parent = 0);
+ void undo();
+ void redo();
private:
CustomTrackView *m_view;