]> git.sesse.net Git - kdenlive/blobdiff - src/commands/addtrackcommand.h
fix gcc warnings
[kdenlive] / src / commands / addtrackcommand.h
index 3e54191d50a93973e54482ba67c86608d5942a2c..3e36dbd16183647163997954804c4ecbae4f8a01 100644 (file)
 #define ADDTRACKCOMMAND_H
 
 #include <QUndoCommand>
-#include <QGraphicsView>
-#include <QPointF>
-
-#include <KDebug>
 #include "definitions.h"
 
 class CustomTrackView;
@@ -33,9 +29,9 @@ class CustomTrackView;
 class AddTrackCommand : public QUndoCommand
 {
 public:
-    AddTrackCommand(CustomTrackView *view, int ix, TrackInfo info, bool addTrack, QUndoCommand * parent = 0);
-    virtual void undo();
-    virtual void redo();
+    AddTrackCommand(CustomTrackView *view, int ix, const TrackInfo &info, bool addTrack, QUndoCommand * parent = 0);
+    void undo();
+    void redo();
 
 private:
     CustomTrackView *m_view;