Mercurial > hg > svcore
comparison data/model/PowerOfTwoZoomConstraint.h @ 179:0ed2b2e26b44
* Tidy up inheritance hierarchy of model classes -- remove ZoomConstraint as
a base class (make it a member instead) and remove virtual inheritances of
QObject (no longer necessary).
author | Chris Cannam |
---|---|
date | Thu, 05 Oct 2006 11:03:06 +0000 |
parents | 3a13b0d4934e |
children | 59e7fe1b1003 |
comparison
equal
deleted
inserted
replaced
178:0e266fa2510f | 179:0ed2b2e26b44 |
---|---|
22 { | 22 { |
23 public: | 23 public: |
24 virtual size_t getNearestBlockSize(size_t requestedBlockSize, | 24 virtual size_t getNearestBlockSize(size_t requestedBlockSize, |
25 RoundingDirection dir = RoundNearest) | 25 RoundingDirection dir = RoundNearest) |
26 const; | 26 const; |
27 /* | |
28 virtual size_t getNextBlockSize(size_t blockSize, | |
29 RoundingDirection dir = RoundNearest) | |
30 const; | |
31 */ | |
32 }; | 27 }; |
33 | 28 |
34 #endif | 29 #endif |
35 | 30 |