comparison data/model/Model.h @ 838:33fca917c800

Add toDelimitedDataString alternative with frame extents
author Chris Cannam
date Wed, 09 Oct 2013 14:47:19 +0100
parents 1d7ebc05157e
children d81c16e47e22
comparison
equal deleted inserted replaced
837:1de00ee53be1 838:33fca917c800
211 211
212 virtual void toXml(QTextStream &stream, 212 virtual void toXml(QTextStream &stream,
213 QString indent = "", 213 QString indent = "",
214 QString extraAttributes = "") const; 214 QString extraAttributes = "") const;
215 215
216 virtual QString toDelimitedDataString(QString) const { return ""; } 216 virtual QString toDelimitedDataString(QString delimiter) const {
217 return toDelimitedDataString(delimiter, getStartFrame(), getEndFrame());
218 }
219 virtual QString toDelimitedDataString(QString, size_t f0, size_t f1) const {
220 return "";
221 }
217 222
218 public slots: 223 public slots:
219 void aboutToDelete(); 224 void aboutToDelete();
220 void sourceModelAboutToBeDeleted(); 225 void sourceModelAboutToBeDeleted();
221 226