1 /***************************************************************************
2 edittransitioncommand.h - description
5 copyright : (C) 2008 by Marco Gittler
6 email : g.marco@freenet.de
7 ***************************************************************************/
9 /***************************************************************************
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. *
16 ***************************************************************************/
18 #ifndef EDITTRANSITIONCOMMAND_H
19 #define EDITTRANSITIONCOMMAND_H
21 #include <QUndoCommand>
23 #include <QDomElement>
26 class CustomTrackView;
28 class EditTransitionCommand : public QUndoCommand
31 EditTransitionCommand(CustomTrackView *view, const int track, GenTime pos, QDomElement oldeffect, QDomElement effect, bool doIt, QUndoCommand * parent = NULL);
33 virtual int id() const;
34 virtual bool mergeWith(const QUndoCommand * command);
39 CustomTrackView *m_view;
42 QDomElement m_oldeffect;