Mercurial > hg > svcore
comparison data/model/TabularModel.h @ 424:eafef13bb0b3
* Add more data-editor support to various models
author | Chris Cannam |
---|---|
date | Thu, 12 Jun 2008 14:33:45 +0000 |
parents | 4caa28a0a8a2 |
children | f5e8f12d2e58 |
comparison
equal
deleted
inserted
replaced
423:6a96bff0bd59 | 424:eafef13bb0b3 |
---|---|
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) const { return 0; } | 53 virtual Command *getSetDataCommand(int row, int column, const QVariant &, int role) { return 0; } |
54 }; | 54 }; |
55 | 55 |
56 #endif | 56 #endif |