X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Faddtransitioncommand.h;h=be6f6a19bc1d2c8c17be3201a099b7b4e8f1d598;hb=16e43620d9ff9e432ea91ded529f1e365d03fd52;hp=61d1940fa558aca564e7f54fb7bad46ab20de585;hpb=a7ebedd5e4c6d7661e19cd3a723f2fdaafdca173;p=kdenlive diff --git a/src/addtransitioncommand.h b/src/addtransitioncommand.h index 61d1940f..be6f6a19 100644 --- a/src/addtransitioncommand.h +++ b/src/addtransitioncommand.h @@ -15,8 +15,8 @@ * * ***************************************************************************/ -#ifndef TIMELINETRANSITIONCOMMAND_H -#define TIMELINETRANSITIONCOMMAND_H +#ifndef ADDTRANSITIONCOMMAND_H +#define ADDTRANSITIONCOMMAND_H #include #include @@ -29,19 +29,21 @@ class CustomTrackView; -class AddTransitionCommand : public QUndoCommand { +class AddTransitionCommand : public QUndoCommand +{ public: - AddTransitionCommand(CustomTrackView *view, ItemInfo info, int transitiontrack, QMap desc, QDomElement params, bool doIt); + AddTransitionCommand(CustomTrackView *view, ItemInfo info, int transitiontrack, QDomElement params, bool remove, bool doIt, QUndoCommand * parent = 0); virtual void undo(); virtual void redo(); private: CustomTrackView *m_view; ItemInfo m_info; - QMap m_desc; QDomElement m_params; int m_track; bool m_doIt; + bool m_remove; + bool m_refresh; }; #endif