X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fdocclipbase.h;h=288b3d453a6697133f34be271da0471303b1b4d9;hb=880efc8572a7df65453dfb5736de6455fe129a86;hp=5c52c1bc653bea3242f8f05d7dcd22c168fe344c;hpb=bccb6c7ba7893644f6e4b98d924f352731d7bcaf;p=kdenlive diff --git a/src/docclipbase.h b/src/docclipbase.h index 5c52c1bc..288b3d45 100644 --- a/src/docclipbase.h +++ b/src/docclipbase.h @@ -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. */ @@ -173,6 +173,7 @@ Q_OBJECT public: void refreshThumbUrl(); const char *producerProperty(const char *name) const; void setProducerProperty(const char *name, const char *data); + void clearProducers(); void deleteProducers(); /** Set default play zone for clip monitor */ @@ -184,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 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 @@ -211,6 +218,8 @@ private: // Private attributes /** Wheter the clip is a placeholder (clip missing but user wants to see it) */ bool m_placeHolder; + QList m_cutZones; + void setAudioThumbCreated(bool isDone); /** Holds clip infos like fps, size,... */ QMap m_properties;