Changeset 4be95b8 for src/mvc/delegate.h
- Timestamp:
- 01/18/10 19:21:48 (13 years ago)
- Branches:
- master, qt5
- Children:
- 18681b3
- Parents:
- a35aa83
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mvc/delegate.h
ra35aa83 r4be95b8 63 63 bool isExpanded( const QModelIndex &index ) const; 64 64 void defineControls(); 65 // TODO: the better place for these methods would be 'eventmodel' 66 // they are used in 'paint' method and so it's better to obtain number of 67 // favourities/alarms once when the data has changed and not to call 68 // these methods which iterate over all Events in corresponding group 69 // every time it requires them 70 int numberOfFavourities(const QModelIndex &index) const; 71 int numberOfAlarms(const QModelIndex &index) const; 65 72 66 73 private:
Note: See TracChangeset
for help on using the changeset viewer.