comparison data/fileio/CSVFileWriter.h @ 839:38bb7c8e415d

Add writeSelection
author Chris Cannam
date Wed, 09 Oct 2013 14:51:46 +0100
parents 1a42221a1522
children 074d7c51e973
comparison
equal deleted inserted replaced
838:33fca917c800 839:38bb7c8e415d
18 18
19 #include <QObject> 19 #include <QObject>
20 #include <QString> 20 #include <QString>
21 21
22 class Model; 22 class Model;
23 class MultiSelection;
23 24
24 class CSVFileWriter : public QObject 25 class CSVFileWriter : public QObject
25 { 26 {
26 Q_OBJECT 27 Q_OBJECT
27 28
31 32
32 virtual bool isOK() const; 33 virtual bool isOK() const;
33 virtual QString getError() const; 34 virtual QString getError() const;
34 35
35 virtual void write(); 36 virtual void write();
37 virtual void writeSelection(MultiSelection *selection);
36 38
37 protected: 39 protected:
38 QString m_path; 40 QString m_path;
39 Model *m_model; 41 Model *m_model;
40 QString m_error; 42 QString m_error;