~ubuntu-branches/ubuntu/hardy/kdenlive/hardy

« back to all changes in this revision

Viewing changes to kdenlive/effectparamdesc.h

  • Committer: Bazaar Package Importer
  • Author(s): Albin Tonnerre
  • Date: 2008-01-30 17:07:51 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080130170751-lyc8p6xvd7o98ur5
Tags: 0.5.svn20071228-0.0ubuntu1
* Merge from debian-multimedia (LP: #150453). Remaining changes:
  - Bump compat to 5
  - Suggest dvgrab and ffmpeg (needed for firewire capture)
  - debian/{rules,control}: add a kdenlive-data package
  - Add .install files for kdenlive and kdenlive-data
  - debian/copyright: add some copyright information
  - Modify Maintainer value to match the DebianMaintainerField specification

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
#ifndef EFFECTPARAMDESC_H
18
18
#define EFFECTPARAMDESC_H
19
19
 
20
 
#include <qxml.h>
 
20
#include <qdom.h>
 
21
#include <qmap.h>
21
22
#include <qstring.h>
22
23
#include <qstringlist.h>
23
24
 
41
42
*/ class EffectParamDesc
42
43
{
43
44
  public:
44
 
    EffectParamDesc(const QXmlAttributes & attributes);
 
45
    EffectParamDesc(const QDomElement & parameter);
45
46
 
46
 
     virtual ~ EffectParamDesc();
 
47
    virtual ~ EffectParamDesc();
47
48
 
48
49
        /** Creates a parameter that conforms to this parameter Description */
49
50
    virtual EffectKeyFrame *createKeyFrame(double time) = 0;
70
71
    virtual const QString endTag() const = 0;
71
72
    virtual const QString startTag() const = 0;
72
73
    virtual const QString list() const = 0;
 
74
    virtual const QMap <double, QString> initialKeyFrames() const;
 
75
    virtual const bool isComplex() const = 0;
73
76
 
74
77
    void setDescription(const QString & description);
75
78
    const QString & description() const;
76
79
    const QString & name() const {
77
80
        return m_name;
78
 
    } 
 
81
    }
 
82
 
79
83
    
80
84
    const QString & type() const {
81
85
        return m_type;
113
117
    QString m_description;
114
118
        /** The parameter value should be divided by this value before being passed to the filter. */
115
119
    double m_factor;
116
 
    QXmlAttributes m_xml;
 
120
    QDomElement m_xml;
117
121
 
118
122
};
119
123