X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fdocclipbase.h;h=60e1402baa9fd3d1c6ce3205e09a1625b451be04;hb=255f094da6bb19faa9fe51daa30de6db296145ff;hp=f016c18d497aab8a215e8e2a1239d03c7eb19ff9;hpb=688b055f579371e27aa0bd3da908d75d0c090acd;p=kdenlive diff --git a/src/docclipbase.h b/src/docclipbase.h index f016c18d..60e1402b 100644 --- a/src/docclipbase.h +++ b/src/docclipbase.h @@ -180,7 +180,7 @@ Q_OBJECT public: void setProducerProperty(const char *name, const char *data); void resetProducerProperty(const char *name); void clearProducers(); - void deleteProducers(); + void deleteProducers(bool clearThumbCreator = true); /** Set default play zone for clip monitor */ void setZone(QPoint zone); @@ -189,6 +189,7 @@ Q_OBJECT public: /** Returns true is clip is missing but user wants to keep it as placeholder */ bool isPlaceHolder() const; + void setValid(); static QString getHash(const QString &path); void addCutZone(int in, int out, QString desc = QString()); @@ -197,6 +198,11 @@ Q_OBJECT public: QList cutZones() const; void updateCutZone(int oldin, int oldout, int in, int out, QString desc = QString()); + bool hasVideoCodec(const QString &codec) const; + bool hasAudioCodec(const QString &codec) const; + bool checkHash() const; + void setPlaceHolder(bool place); + private: // Private attributes /** The number of times this clip is used in the project - the number of references to this clip @@ -242,7 +248,6 @@ public slots: void updateAudioThumbnail(QMap > data); bool slotGetAudioThumbs(); QList < CommentedTime > commentedSnapMarkers() const; - void setSnapMarkers(QList < CommentedTime > markers); GenTime findNextSnapMarker(const GenTime & currTime); GenTime findPreviousSnapMarker(const GenTime & currTime); GenTime hasSnapMarkers(const GenTime & time); @@ -260,7 +265,6 @@ public slots: signals: - void getAudioThumbs(); void gotAudioData(); };