]> git.sesse.net Git - kdenlive/blobdiff - src/timecode.h
Const'ref
[kdenlive] / src / timecode.h
index c98ac209589e700651ff3976bb499c1967b664be..23469756bbb8f3f4daec0f8e623a63243100da1c 100644 (file)
@@ -50,12 +50,12 @@ public:
     int getDisplayFrameCount(const QString &duration, bool frameDisplay) const;
     int getFrameCount(const QString &duration) const;
     static QString getEasyTimecode(const GenTime & time, const double &fps);
-    static QString getStringTimecode(int frames, const double &fps);
+    static QString getStringTimecode(int frames, const double &fps, bool showFrames = false);
     const QString getDisplayTimecodeFromFrames(int frames, bool frameDisplay) const;
     const QString getTimecodeFromFrames(int frames) const;
     double fps() const;
     bool df() const;
-    const QString mask(GenTime t = GenTime()) const;
+    const QString mask(const GenTime &t = GenTime()) const;
     QString reformatSeparators(QString duration) const;
 
 private: