]> git.sesse.net Git - kdenlive/blobdiff - src/titlewidget.h
Add more const'ref
[kdenlive] / src / titlewidget.h
index 16afcae5e84e39023bd701ad6f356cb5cc4aad87..4c44b631da33b069d8b2fa405d98c04552f7702f 100644 (file)
@@ -63,7 +63,7 @@ public:
      * @param projectPath default path to save to or load from title documents
      * @param render project renderer
      * @param parent (optional) parent widget */
-    explicit TitleWidget(const KUrl &url, Timecode tc, const QString &projectTitlePath, Render *render, QWidget *parent = 0);
+    explicit TitleWidget(const KUrl &url, const Timecode &tc, const QString &projectTitlePath, Render *render, QWidget *parent = 0);
     virtual ~TitleWidget();
     QDomDocument xml();
     void setXml(const QDomDocument& doc);
@@ -312,7 +312,7 @@ private slots:
     /** Called whenever text properties change (font e.g.) */
     void slotUpdateText();
     void slotInsertUnicode();
-    void slotInsertUnicodeString(QString);
+    void slotInsertUnicodeString(const QString&);
 
     void displayBackgroundFrame();