]> git.sesse.net Git - kdenlive/blobdiff - src/edittransitioncommand.h
* Allow to edit transparent background for images in group properties
[kdenlive] / src / edittransitioncommand.h
index 3fbacb3a36286200f49791b3947c2d99a9567dcc..eb3e96bba3550bc9777a109d6cffb50dec0e4b64 100644 (file)
 
 #include <QUndoCommand>
 #include <KDebug>
+#include <QDomElement>
+#include "gentime.h"
 
-#include "customtrackview.h"
+class CustomTrackView;
 
-class EditTransitionCommand : public QUndoCommand {
+class EditTransitionCommand : public QUndoCommand
+{
 public:
-    EditTransitionCommand(CustomTrackView *view, const int track, GenTime pos, QDomElement oldeffect, QDomElement effect, bool doIt);
+    EditTransitionCommand(CustomTrackView *view, const int track, GenTime pos, QDomElement oldeffect, QDomElement effect, bool doIt, QUndoCommand * parent = NULL);
 
     virtual int id() const;
     virtual bool mergeWith(const QUndoCommand * command);
@@ -34,10 +37,10 @@ public:
 
 private:
     CustomTrackView *m_view;
-    int m_track;
+    const int m_track;
     QDomElement m_effect;
     QDomElement m_oldeffect;
-    GenTime m_pos;
+    const GenTime m_pos;
     bool m_doIt;
 };