-class CommentedTime {
-public:
- CommentedTime(): t(GenTime(0)) {}
- CommentedTime(const GenTime time, QString comment)
- : t(time), c(comment) { }
-
- QString comment() const {
- return (c.isEmpty() ? i18n("Marker") : c);
- }
- GenTime time() const {
- return t;
- }
- void setComment(QString comm) {
- c = comm;
- }
-private:
- GenTime t;
- QString c;