]> git.sesse.net Git - kdenlive/blob - src/kdenlivedoc.h
Progress in clip monitor and project switching
[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
45   private:
46     KUrl m_url;
47     QDomDocument m_document;
48     QString m_projectName;
49     double m_fps;
50     int m_width;
51     int m_height;
52     Timecode m_timecode;
53
54   public slots:
55     
56 };
57
58 #endif