]> git.sesse.net Git - kdenlive/blobdiff - src/kdenlivedoc.h
Don't crash when wrong sdl driver was selected by user (needs MLT patch):
[kdenlive] / src / kdenlivedoc.h
index bd34660b1fdcab0f921f73ec29c204c635d4b058..4007f595ffa984c237e14e53ffb558b1dcc33d97 100644 (file)
@@ -90,8 +90,8 @@ Q_OBJECT public:
     /** Used to inform main app of the current document loading progress */
     void loadingProgressed();
     void syncGuides(QList <Guide *> guides);
-    void setZoom(int factor);
-    int zoom() const;
+    void setZoom(int horizontal, int vertical);
+    QPoint zoom() const;
     double dar();
     double projectDuration() const;
     bool saveSceneList(const QString &path, const QString &scene);
@@ -110,7 +110,7 @@ Q_OBJECT public:
     QString getLadspaFile() const;
     void setZone(int start, int end);
     QPoint zone() const;
-    void setSceneList();
+    int setSceneList();
     void updatePreviewSettings();
     bool isTrackLocked(int ix) const;
     void setDocumentProperty(const QString &name, const QString &value);
@@ -120,8 +120,6 @@ private:
     KUrl m_url;
     QDomDocument m_document;
     double m_fps;
-    /** Cursor position at document opening */
-    int m_startPos;
     int m_width;
     int m_height;
     Timecode m_timecode;
@@ -150,6 +148,8 @@ private:
     bool checkDocumentClips(QDomNodeList infoproducers);
 
 public slots:
+    void slotCreateColorClip(const QString &name, const QString &color, const QString &duration, QString group, const QString &groupId);
+    void slotCreateSlideshowClipFile(const QString name, const QString path, int count, const QString duration, const bool loop, const bool fade, const QString &luma_duration, const QString &luma_file, const int softness, QString group, const QString &groupId);
     void slotCreateTextClip(QString group, const QString &groupId, const QString &templatePath = QString());
     void slotCreateTextTemplateClip(QString group, const QString &groupId, KUrl path);
     /** Set to true if document needs saving, false otherwise */