]> git.sesse.net Git - kdenlive/blobdiff - src/commands/moveeffectcommand.h
const'ify
[kdenlive] / src / commands / moveeffectcommand.h
index 790390ac2a9f1d8cf80b9335bf97df5ec42782d3..bc1fd30f67305cdd6081e48a69a2ac9c888c1bda 100644 (file)
@@ -31,7 +31,7 @@ class CustomTrackView;
 class MoveEffectCommand : public QUndoCommand
 {
 public:
-    MoveEffectCommand(CustomTrackView *view, const int track, GenTime pos, int oldPos, int newPos, QUndoCommand * parent = 0);
+    MoveEffectCommand(CustomTrackView *view, const int track, GenTime pos, QList <int> oldPos, int newPos, QUndoCommand * parent = 0);
 
     virtual int id() const;
     virtual bool mergeWith(const QUndoCommand * command);
@@ -41,8 +41,8 @@ public:
 private:
     CustomTrackView *m_view;
     int m_track;
-    int m_oldindex;
-    int m_newindex;
+    QList <int> m_oldindex;
+    QList <int> m_newindex;
     GenTime m_pos;
 };