]> git.sesse.net Git - kdenlive/blobdiff - src/kdenlivedoc.h
Start of the new document checker (check for missing clips,...) not fully functionnal yet
[kdenlive] / src / kdenlivedoc.h
index a2fdc171223f304fa0214e18376a4d09f14fa8ac..01f103d58f4d640ea6c054a0350a673e5b34f105 100644 (file)
@@ -62,8 +62,6 @@ Q_OBJECT public:
     //void setRenderer(Render *render);
     QUndoStack *commandStack();
     QString producerName(const QString &id);
-    void setProducerDuration(const QString &id, int duration);
-    int getProducerDuration(const QString &id);
     Render *renderer();
     QDomDocument m_guidesXml;
     QDomElement guidesXml() const;
@@ -119,7 +117,6 @@ Q_OBJECT public:
 private:
     KUrl m_url;
     QDomDocument m_document;
-    QString m_projectName;
     double m_fps;
     int m_zoom;
     /** Cursor position at document opening */
@@ -148,15 +145,17 @@ private:
     bool convertDocument(double version);
     QDomDocument createEmptyDocument(const int videotracks, const int audiotracks);
     QString colorToString(const QColor& c);
-    void checkProjectClips();
+
     void setNewClipResource(const QString &id, const QString &path);
     QString searchFileRecursively(const QDir &dir, const QString &matchSize, const QString &matchHash) const;
     void moveProjectData(KUrl url);
+    void checkDocumentClips();
 
 public slots:
     void slotCreateTextClip(QString group, const QString &groupId);
     /** Set to true if document needs saving, false otherwise */
     void setModified(bool mod = true);
+    void checkProjectClips();
 
 private slots:
     void slotAutoSave();