]> git.sesse.net Git - kdenlive/blob - src/kdenlivedoc.h
slowly progressing... ruler scrubbing, start of trackview
[kdenlive] / src / kdenlivedoc.h
1 /***************************************************************************
2                          krender.h  -  description
3                             -------------------
4    begin                : Fri Nov 22 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 KDENLIVEDOC_H
19 #define KDENLIVEDOC_H
20
21 #include <qdom.h>
22 #include <qstring.h>
23 #include <qmap.h>
24 #include <QList>
25 #include <QObject>
26
27 #include <kurl.h>
28
29 #include "gentime.h"
30 #include "timecode.h"
31
32 class KdenliveDoc:public QObject {
33   Q_OBJECT public:
34
35     KdenliveDoc(KUrl url, double fps, int width, int height, QWidget *parent = 0);
36     ~KdenliveDoc();
37     QString documentName();
38     QDomNodeList producersList();
39     double fps();
40     int width();
41     int height();
42     void setProducers(QDomElement doc);
43     Timecode timecode();
44     QDomDocument toXml();
45
46   private:
47     KUrl m_url;
48     QDomDocument m_document;
49     QString m_projectName;
50     double m_fps;
51     int m_width;
52     int m_height;
53     Timecode m_timecode;
54
55   public slots:
56     
57 };
58
59 #endif