]> git.sesse.net Git - kdenlive/blob - src/commands/movetransitioncommand.h
Const'ref
[kdenlive] / src / commands / movetransitioncommand.h
1 /***************************************************************************
2                           movetransitioncommand.h  -  description
3                              -------------------
4     begin                : Mar 15 2008
5     copyright            : (C) 2008 by Marco Gittler
6     email                : g.marco@freenet.de
7  ***************************************************************************/
8
9 /***************************************************************************
10  *                                                                         *
11  *   This program is free software; you can redistribute it and/or modify  *
12  *   it under the terms of the GNU General Public License as published by  *
13  *   the Free Software Foundation; either version 2 of the License, or     *
14  *   (at your option) any later version.                                   *
15  *                                                                         *
16  ***************************************************************************/
17
18 #ifndef MOVETRANSITIONCOMMAND_H
19 #define MOVETRANSITIONCOMMAND_H
20
21 #include "definitions.h"
22
23 #include <QUndoCommand>
24
25 class CustomTrackView;
26
27 class MoveTransitionCommand : public QUndoCommand
28 {
29 public:
30     MoveTransitionCommand(CustomTrackView *view, const ItemInfo &start, const ItemInfo &end, bool doIt, QUndoCommand * parent = 0);
31     void undo();
32     void redo();
33
34 private:
35     CustomTrackView *m_view;
36     ItemInfo m_startPos;
37     ItemInfo m_endPos;
38     bool m_doIt;
39     bool m_refresh;
40 };
41
42 #endif
43