X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fdocclipbase.h;h=f59df01f81a665fb081eff7433064a71754e72dd;hb=c3302003093710ee247ad84c0fe2ef3c579d417f;hp=2c559316e1775d363f865c2889acbfe6384d6cf7;hpb=a12cf2d6e75a7a9857330a6109b36d5b99a2ccb4;p=kdenlive diff --git a/src/docclipbase.h b/src/docclipbase.h index 2c559316..f59df01f 100644 --- a/src/docclipbase.h +++ b/src/docclipbase.h @@ -185,7 +185,7 @@ public: bool hasCutZone(const QPoint &p) const; void removeCutZone(int in, int out); QList cutZones() const; - void updateCutZone(int oldin, int oldout, int in, int out, QString desc = QString()); + void updateCutZone(int oldin, int oldout, int in, int out, const QString &desc = QString()); bool hasVideoCodec(const QString &codec) const; bool hasAudioCodec(const QString &codec) const; @@ -206,7 +206,7 @@ public: /** Returns all current properties for this clip */ QMap properties() const; /** Return the current values for a set of properties */ - QMap currentProperties(QMap props); + QMap currentProperties(const QMap &props); QMap metadata() const; /** @brief Returns a short info string about the clip to display in tooltip */ const QString shortInfo() const; @@ -275,12 +275,12 @@ public slots: void addSnapMarker(const CommentedTime &marker); QList < GenTime > snapMarkers() const; QString markerComment(const GenTime &t) const; - CommentedTime markerAt(GenTime t) const; + CommentedTime markerAt(const GenTime &t) const; void setClipThumbFrame(const uint &ix); uint getClipThumbFrame() const; void setProperties(QMap properties); - void setMetadata(QMap properties, QString tool = QString()); - void slotExtractImage(QList frames); + void setMetadata(const QMap &properties, const QString &tool = QString()); + void slotExtractImage(const QList &frames); signals: void gotAudioData();