/***************************************************************************
* Copyright (C) 2007 by Jean-Baptiste Mardelle (jb@kdenlive.org) *
+ * 2012 Simon A. Eugster <simon.eu@gmail.com> *
* *
* 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 *
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