]> git.sesse.net Git - kdenlive/blob - src/effectslist.h
* small arrow instead of ellipse as transition handle
[kdenlive] / src / effectslist.h
1 /***************************************************************************
2                           docclipbaseiterator.h  -  description
3                              -------------------
4     begin                : Sat Aug 10 2002
5     copyright            : (C) 2002 by Jason Wood
6     email                : jasonwood@blueyonder.co.uk
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 EFFECTSLIST_H
19 #define EFFECTSLIST_H
20
21 #include <QList>
22
23 /**An List for DocClipBase objects. Use this instead of QList<DocClipBase> so as to sort lists correctly.
24  * Also contains the ability to set a "master clip", which can be used by a number of operations where
25  * the need for one clip to act as a reference for what happens to all clips is needed.
26   * @author Jason Wood
27   */
28
29 #include <QDomElement>
30
31 class EffectsList: public QList < QDomElement > {
32 public:
33     EffectsList();
34     ~EffectsList();
35     /** Returns an XML version of this Effect.*/
36     QDomElement getEffectByName(const QString & name) const;
37     QDomElement getEffectByTag(const QString & tag, const QString & id) const;
38     QStringList effectNames();
39     QString getInfo(QString effectName);
40     QMap <QString, QString> effect(const QString & name);
41
42     static void setParameter(QDomElement effect, QString name, QString value);
43 };
44
45 #endif