+ /** @brief Rounds the GenTime's value to the nearest frame.
+ * @param framesPerSecond Number of frames per second */
+ GenTime & roundNearestFrame(double framesPerSecond);
+
+ QString toString() const;
+
+
+ /*
+ * Operators.
+ */
+
+ /// Unary minus
+ GenTime operator -() {
+ return GenTime(-m_time);
+ }
+
+ /// Addition
+ GenTime & operator+=(GenTime op) {
+ m_time += op.m_time;
+ return *this;