]> git.sesse.net Git - kdenlive/blobdiff - src/customruler.h
Minor optimization
[kdenlive] / src / customruler.h
index f7ba21bd61f521cb859f31e827dfaa5e3c9d1581..33e006fa55cbb4c8c6a11bc8649752ad53a1fa1f 100644 (file)
@@ -39,15 +39,15 @@ class CustomRuler : public QWidget
     Q_OBJECT
 
 public:
-    CustomRuler(Timecode tc, CustomTrackView *parent);
+    CustomRuler(const Timecode &tc, CustomTrackView *parent);
     void setPixelPerMark(int rate);
     static const int comboScale[];
     int outPoint() const;
     int inPoint() const;
     void setDuration(int d);
-    void setZone(QPoint p);
+    void setZone(const QPoint &p);
     int offset() const;
-    void updateProjectFps(Timecode t);
+    void updateProjectFps(const Timecode &t);
     void updateFrameSize();
     void updatePalette();