Mercurial > hg > svcore
diff data/model/EditableDenseThreeDimensionalModel.h @ 533:55ad231c9db7
* try some qvectors
author | Chris Cannam |
---|---|
date | Thu, 22 Jan 2009 17:58:33 +0000 |
parents | 1405f4a2caf3 |
children | 6038cb6fcd30 |
line wrap: on
line diff
--- a/data/model/EditableDenseThreeDimensionalModel.h Thu Jan 22 17:39:04 2009 +0000 +++ b/data/model/EditableDenseThreeDimensionalModel.h Thu Jan 22 17:58:33 2009 +0000 @@ -18,6 +18,8 @@ #include "DenseThreeDimensionalModel.h" +#include <vector> + class EditableDenseThreeDimensionalModel : public DenseThreeDimensionalModel { Q_OBJECT @@ -90,7 +92,7 @@ /** * Get the set of bin values at the given column. */ - virtual void getColumn(size_t x, Column &) const; + virtual Column getColumn(size_t x) const; /** * Get a single value, from the n'th bin of the given column. @@ -120,7 +122,7 @@ QString extraAttributes = "") const; protected: - typedef std::vector<Column> ValueMatrix; + typedef QVector<Column> ValueMatrix; ValueMatrix m_data; std::vector<QString> m_binNames;