X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Ftitlewidget.h;h=4c6a351e5ef90016d18b4a228f76da60461c93c2;hb=c3302003093710ee247ad84c0fe2ef3c579d417f;hp=16afcae5e84e39023bd701ad6f356cb5cc4aad87;hpb=66477ff375fb6103903d61b0ac06ee47ab864356;p=kdenlive diff --git a/src/titlewidget.h b/src/titlewidget.h index 16afcae5..4c6a351e 100644 --- a/src/titlewidget.h +++ b/src/titlewidget.h @@ -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); @@ -104,9 +104,9 @@ public: static void refreshTitleTemplates(); protected: - virtual void resizeEvent(QResizeEvent * event); - virtual void keyPressEvent(QKeyEvent *e); - virtual QSize sizeHint() const; + void resizeEvent(QResizeEvent * event); + void keyPressEvent(QKeyEvent *e); + QSize sizeHint() const; private: @@ -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();