]> git.sesse.net Git - kdenlive/blobdiff - src/addtransitioncommand.h
* Allow to edit transparent background for images in group properties
[kdenlive] / src / addtransitioncommand.h
index 75af055916cc03c73bf6ab500aeb9db5bec23e3e..be6f6a19bc1d2c8c17be3201a099b7b4e8f1d598 100644 (file)
@@ -15,8 +15,8 @@
  *                                                                         *
  ***************************************************************************/
 
-#ifndef TIMELINETRANSITIONCOMMAND_H
-#define TIMELINETRANSITIONCOMMAND_H
+#ifndef ADDTRANSITIONCOMMAND_H
+#define ADDTRANSITIONCOMMAND_H
 
 #include <QUndoCommand>
 #include <QGraphicsView>
 class CustomTrackView;
 
 
-class AddTransitionCommand : public QUndoCommand {
+class AddTransitionCommand : public QUndoCommand
+{
 public:
-    AddTransitionCommand(CustomTrackView *view, ItemInfo info, int transitiontrack, QDomElement params, bool remove, bool doIt);
+    AddTransitionCommand(CustomTrackView *view, ItemInfo info, int transitiontrack, QDomElement params, bool remove, bool doIt, QUndoCommand * parent = 0);
     virtual void undo();
     virtual void redo();
 
@@ -42,6 +43,7 @@ private:
     int m_track;
     bool m_doIt;
     bool m_remove;
+    bool m_refresh;
 };
 
 #endif