X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Ftrackview.h;h=49399b6c22e2602a7c192224bcf7426e72ae22f9;hb=7ac877ea57663a02e9042939aa51eb700fbe4301;hp=b46ec00c0eef484d1af3a1cc922b2cbe58fd3e97;hpb=7ee8b6e016e56b78ee1a1a974cf263c1b3bcde17;p=kdenlive diff --git a/src/trackview.h b/src/trackview.h index b46ec00c..49399b6c 100644 --- a/src/trackview.h +++ b/src/trackview.h @@ -86,9 +86,9 @@ public slots: void slotDeleteClip(const QString &clipId); void slotChangeZoom(int horizontal, int vertical = -1); void setDuration(int dur); - void slotSetZone(QPoint p, bool updateDocumentProperties = true); + void slotSetZone(const QPoint &p, bool updateDocumentProperties = true); /** @brief Save a snapshot image of current timeline view */ - void slotSaveTimelinePreview(const QString path); + void slotSaveTimelinePreview(const QString &path); private: CustomRuler *m_ruler; CustomTrackView *m_trackview; @@ -107,7 +107,7 @@ private: void parseDocument(const QDomDocument &doc); int slotAddProjectTrack(int ix, QDomElement xml, bool locked, QDomNodeList producers); - DocClipBase *getMissingProducer(const QString id) const; + DocClipBase *getMissingProducer(const QString &id) const; void adjustTrackHeaders(); /** @brief Add effects from the xml. Returns true if some effect was upgraded, false if everything went fine.*/ void slotAddProjectEffects(QDomNodeList effects, QDomElement parentNode, ClipItem *clip, int trackIndex); @@ -132,7 +132,7 @@ private slots: /** @brief Changes the name of a track. * @param ix Number of the track * @param name New name */ - void slotRenameTrack(int ix, QString name); + void slotRenameTrack(int ix, const QString &name); void slotRepaintTracks(); /** @brief Adjusts the margins of the header area.