]> git.sesse.net Git - kdenlive/blobdiff - src/docclipbase.h
Add subclips (dragging a zone from clip monitor to project tree)
[kdenlive] / src / docclipbase.h
index 3714f1aa6d29de5e75d0a1203fa59b56293bb437..288b3d453a6697133f34be271da0471303b1b4d9 100644 (file)
@@ -147,7 +147,7 @@ Q_OBJECT public:
     bool hasFileSize() const;
 
     /** Returns the filesize, or 0 if there is no appropriate filesize. */
-    uint fileSize() const;
+    qulonglong fileSize() const;
 
     /** Returns true if this clip refers to the clip passed in. A clip refers to another clip if
      * it uses it as part of it's own composition. */
@@ -185,6 +185,12 @@ Q_OBJECT public:
     bool isPlaceHolder() const;
     static QString getHash(const QString &path);
 
+    void addCutZone(int in, int out);
+    bool hasCutZone(QPoint p) const;
+    void removeCutZone(int in, int out);
+    QList <QPoint> cutZones() const;
+    void updateCutZone(int oldin, int oldout, int in, int out);
+
 private:   // Private attributes
 
     /** The number of times this clip is used in the project - the number of references to this clip
@@ -212,6 +218,8 @@ private:   // Private attributes
     /** Wheter the clip is a placeholder (clip missing but user wants to see it) */
     bool m_placeHolder;
 
+    QList <QPoint> m_cutZones;
+
     void setAudioThumbCreated(bool isDone);
     /** Holds clip infos like fps, size,... */
     QMap <QString, QString> m_properties;