]> git.sesse.net Git - kdenlive/blob - src/movetransitioncommand.h
[PATCH 2/2] Ensure that all member variables have an m_ prefix
[kdenlive] / src / 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 <QUndoCommand>
22 #include <QGraphicsView>
23 #include <QPointF>
24
25 #include <KDebug>
26
27 #include "definitions.h"
28
29 class CustomTrackView;
30
31 class MoveTransitionCommand : public QUndoCommand
32 {
33 public:
34     MoveTransitionCommand(CustomTrackView *view, const ItemInfo start, const ItemInfo end, bool doIt, QUndoCommand * parent = 0);
35     virtual void undo();
36     virtual void redo();
37
38 private:
39     CustomTrackView *m_view;
40     ItemInfo m_startPos;
41     ItemInfo m_endPos;
42     bool m_doIt;
43 };
44
45 #endif
46