X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fediteffectcommand.h;h=c793fd4f842ac3962644dd5d8ec9b3fb7381b7f1;hb=efb2133c58a7d4b2f53ca31b362c591a93c59290;hp=276d6a9538f939d5b8355b46f1090c57246f5428;hpb=fafd8661e13df4401f1d28723a0262c6b3226e34;p=kdenlive diff --git a/src/editeffectcommand.h b/src/editeffectcommand.h index 276d6a95..c793fd4f 100644 --- a/src/editeffectcommand.h +++ b/src/editeffectcommand.h @@ -23,27 +23,30 @@ #include #include +#include +#include -#include "customtrackview.h" +class CustomTrackView; class EditEffectCommand : public QUndoCommand - { - public: - EditEffectCommand(CustomTrackView *view, const int track, GenTime pos, QDomElement oldeffect, QDomElement effect, bool doIt); +{ +public: + EditEffectCommand(CustomTrackView *view, const int track, GenTime pos, QDomElement oldeffect, QDomElement effect, int stackPos, bool doIt, QUndoCommand *parent = 0); virtual int id() const; - virtual bool mergeWith ( const QUndoCommand * command ); + virtual bool mergeWith(const QUndoCommand * command); virtual void undo(); virtual void redo(); - private: - CustomTrackView *m_view; - int m_track; - QDomElement m_effect; - QDomElement m_oldeffect; - GenTime m_pos; - bool m_doIt; - }; +private: + CustomTrackView *m_view; + const int m_track; + QDomElement m_oldeffect; + QDomElement m_effect; + const GenTime m_pos; + int m_stackPos; + bool m_doIt; +}; #endif