X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcommands%2Fmoveclipcommand.h;h=253ee067ff1d039697bf07c63632f656129588ac;hb=c3302003093710ee247ad84c0fe2ef3c579d417f;hp=5b7d99ffecac95d1495be7a3dba530be8fd19886;hpb=a9eee37bf60bfae1ce974d2bb3f4954c23e05664;p=kdenlive diff --git a/src/commands/moveclipcommand.h b/src/commands/moveclipcommand.h index 5b7d99ff..253ee067 100644 --- a/src/commands/moveclipcommand.h +++ b/src/commands/moveclipcommand.h @@ -1,5 +1,6 @@ /*************************************************************************** * Copyright (C) 2007 by Jean-Baptiste Mardelle (jb@kdenlive.org) * + * 2012 Simon A. Eugster * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -30,16 +31,17 @@ class CustomTrackView; class MoveClipCommand : public QUndoCommand { public: - MoveClipCommand(CustomTrackView *view, const ItemInfo start, const ItemInfo end, bool doIt, QUndoCommand * parent = 0); - virtual void undo(); - virtual void redo(); + MoveClipCommand(CustomTrackView *view, const ItemInfo &start, const ItemInfo &end, bool doIt, QUndoCommand * parent = 0); + void undo(); + void redo(); private: CustomTrackView *m_view; const ItemInfo m_startPos; - const ItemInfo m_endPos; + ItemInfo m_endPos; bool m_doIt; bool m_refresh; + bool m_success; }; #endif