- 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;
- }
+ EffectsParameterList();
+ bool hasParam(const QString &name) const;
+ void setParamValue(const QString &name, const QString &value);
+
+ QString paramValue(const QString &name, const QString &defaultValue = QString()) const;
+ void addParam(const QString &name, const QString &value);
+ void removeParam(const QString &name);
+};
+
+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);