X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Faddtransitioncommand.h;h=be6f6a19bc1d2c8c17be3201a099b7b4e8f1d598;hb=e7cc204174b626f1970483faf36ec6d9033b1a7f;hp=dfa07f70595c5184bfdb865325fffb69f9f7cec3;hpb=6ebc4a2b41a1ac5c1edcdbe927bd8011f66d4834;p=kdenlive diff --git a/src/addtransitioncommand.h b/src/addtransitioncommand.h index dfa07f70..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 @@ -25,22 +25,25 @@ #include #include "gentime.h" - +#include "definitions.h" class CustomTrackView; -class AddTransitionCommand : public QUndoCommand { +class AddTransitionCommand : public QUndoCommand +{ public: - AddTransitionCommand(CustomTrackView *view, int track, QDomElement xml , GenTime pos, 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; - GenTime m_pos; - QDomElement m_xml; + ItemInfo m_info; + QDomElement m_params; int m_track; bool m_doIt; + bool m_remove; + bool m_refresh; }; #endif