Mercurial > hg > svcore
diff data/model/TextModel.h @ 423:6a96bff0bd59
* Update translations, and add change counter to name of bundle command
author | Chris Cannam |
---|---|
date | Thu, 12 Jun 2008 10:47:11 +0000 |
parents | 700cd3350391 |
children | eafef13bb0b3 |
line wrap: on
line diff
--- a/data/model/TextModel.h Thu Jun 12 09:03:00 2008 +0000 +++ b/data/model/TextModel.h Thu Jun 12 10:47:11 2008 +0000 @@ -20,6 +20,8 @@ #include "base/XmlExportable.h" #include "base/RealTime.h" +#include <QStringList> + /** * Text point type for use in a SparseModel. This represents a piece * of text at a given time and y-value in the [0,1) range (indicative @@ -80,6 +82,8 @@ class TextModel : public SparseModel<TextPoint> { + Q_OBJECT + public: TextModel(size_t sampleRate, size_t resolution, bool notifyOnAdd = true) : SparseModel<TextPoint>(sampleRate, resolution, notifyOnAdd)