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 {
30 EditTransitionCommand(CustomTrackView *view, const int track, GenTime pos, QDomElement oldeffect, QDomElement effect, bool doIt);
32 virtual int id() const;
33 virtual bool mergeWith(const QUndoCommand * command);
38 CustomTrackView *m_view;
41 QDomElement m_oldeffect;