]> git.sesse.net Git - kdenlive/blobdiff - src/docclipbase.h
Cleanup decoration of tree views (effect list, project tree)
[kdenlive] / src / docclipbase.h
index c66fcfde9174523db354c312cb729c467d7137ae..b23945dc7ba8675046803511a7f1e99de0258a44 100644 (file)
@@ -76,7 +76,7 @@ Q_OBJECT public:
     bool isTransparent() const;
 
     /** Returns any property of this clip. */
-    const QString getProperty(const QString prop) const;
+    const QString getProperty(const QString &prop) const;
     void setProperty(const QString &key, const QString &value);
     void clearProperty(const QString &key);
 
@@ -248,7 +248,7 @@ private:   // Private attributes
     void slotRefreshProducer();
     void setProducerProperty(const char *name, int data);
     void setProducerProperty(const char *name, double data);
-    void getFileHash(const QString url);
+    void getFileHash(const QString &url);
     /** @brief When duplicating a producer, make sure all manually set properties are passed to it. */
     void adjustProducerProperties(Mlt::Producer *prod, const QString &id, bool mute, bool blind);
     /** @brief Create another instance of a producer. */
@@ -274,17 +274,13 @@ public slots:
     QMap <QString, QString> properties() const;
     QMap <QString, QString> metadata() const;
     void slotExtractImage(int frame, int frame2);
-    /** @brief Lock mutex to prevent changing producers while operation. */
-    void slotBlock();
-    /** @brief Release mutex preventing a change in producers. */
-    void slotRelease();
 
 signals:
     void gotAudioData();
     /** @brief Generate a proxy clip (lower resolution copy) named like the clip's hash. */
-    void createProxy(const QString id);
+    void createProxy(const QString &id);
     /** @brief Abort creation of the proxy clip (lower resolution copy). */
-    void abortProxy(const QString id, const QString proxyPath);
+    void abortProxy(const QString &id, const QString &proxyPath);
 };
 
 #endif