+class CommentedTime
+{
+public:
+ CommentedTime();
+ CommentedTime(const GenTime &time, const QString& comment, int markerType = 0);
+
+ QString comment() const;
+ GenTime time() const;
+ void setComment(const QString &comm);
+ void setMarkerType(int t);
+ int markerType() const;
+ static QColor markerColor(int type);
+
+ /* Implementation of > operator; Works identically as with basic types. */
+ bool operator>(CommentedTime op) const;
+ /* Implementation of < operator; Works identically as with basic types. */
+ bool operator<(CommentedTime op) const;
+ /* Implementation of >= operator; Works identically as with basic types. */
+ bool operator>=(CommentedTime op) const;
+ /* Implementation of <= operator; Works identically as with basic types. */
+ bool operator<=(CommentedTime op) const;
+ /* Implementation of == operator; Works identically as with basic types. */
+ bool operator==(CommentedTime op) const;
+ /* Implementation of != operator; Works identically as with basic types. */
+ bool operator!=(CommentedTime op) const;
+
+private:
+ GenTime t;
+ QString c;
+ int type;
+};
+
+QDebug operator << (QDebug qd, const ItemInfo &info);
+