comparison data/model/TabularModel.h @ 425:f5e8f12d2e58

* Add audio device selection to preferences * Add (not yet functional) insert, delete, edit buttons to data edit window * Add proper set methods for time fields in data edit window (using general sparse model base class)
author Chris Cannam
date Fri, 13 Jun 2008 21:09:43 +0000
parents eafef13bb0b3
children 72ec275e458b
comparison
equal deleted inserted replaced
424:eafef13bb0b3 425:f5e8f12d2e58
48 48
49 virtual long getFrameForRow(int row) const = 0; 49 virtual long getFrameForRow(int row) const = 0;
50 virtual int getRowForFrame(long frame) const = 0; 50 virtual int getRowForFrame(long frame) const = 0;
51 51
52 virtual bool isEditable() const { return false; } 52 virtual bool isEditable() const { return false; }
53 virtual Command *getSetDataCommand(int row, int column, const QVariant &, int role) { return 0; } 53 virtual Command *getSetDataCommand(int /* row */, int /* column */, const QVariant &, int /* role */) { return 0; }
54 }; 54 };
55 55
56 #endif 56 #endif