comparison data/model/DenseTimeValueModel.cpp @ 1824:1cd161242250

Merge
author Chris Cannam
date Tue, 28 Jan 2020 14:34:13 +0000
parents c546429d4c2f
children 21c792334c2e
comparison
equal deleted inserted replaced
1823:07a8793a0388 1824:1cd161242250
14 */ 14 */
15 15
16 #include "DenseTimeValueModel.h" 16 #include "DenseTimeValueModel.h"
17 17
18 #include <QStringList> 18 #include <QStringList>
19 19
20 QString
21 DenseTimeValueModel::getDelimitedDataHeaderLine(QString delimiter,
22 DataExportOptions) const
23 {
24 int ch = getChannelCount();
25 QStringList list;
26 for (int i = 0; i < ch; ++i) {
27 list << QString("Channel%1").arg(i+1);
28 }
29 return list.join(delimiter);
30 }
31
20 QString 32 QString
21 DenseTimeValueModel::toDelimitedDataString(QString delimiter, 33 DenseTimeValueModel::toDelimitedDataString(QString delimiter,
22 DataExportOptions, 34 DataExportOptions,
23 sv_frame_t startFrame, 35 sv_frame_t startFrame,
24 sv_frame_t duration) const 36 sv_frame_t duration) const