#include <KDebug>
-#include "projectlist.h"
-#include "customtrackview.h"
+#include "definitions.h"
+
+class CustomTrackView;
class ResizeClipCommand : public QUndoCommand
- {
- public:
- ResizeClipCommand(CustomTrackView *view, const QPointF startPos, const QPointF endPos, bool resizeClipStart, bool doIt);
+{
+public:
+ ResizeClipCommand(CustomTrackView *view, const ItemInfo start, const ItemInfo end, bool doIt, bool dontWorry, QUndoCommand * parent = 0);
virtual void undo();
virtual void redo();
- private:
- CustomTrackView *m_view;
- QPointF m_startPos;
- QPointF m_endPos;
- bool m_resizeClipStart;
- bool m_doIt;
- };
+private:
+ CustomTrackView *m_view;
+ ItemInfo m_startPos;
+ ItemInfo m_endPos;
+ bool m_doIt;
+ bool m_dontWorry;
+};
#endif