Mercurial > hg > svcore
comparison data/model/PowerOfSqrtTwoZoomConstraint.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 |
---|---|
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 | 27 |
28 protected: | |
29 virtual size_t getNearestBlockSize(size_t requestedBlockSize, | 28 virtual size_t getNearestBlockSize(size_t requestedBlockSize, |
30 int &type, | 29 int &type, |
31 int &power, | 30 int &power, |
32 RoundingDirection dir = RoundNearest) | 31 RoundingDirection dir = RoundNearest) |
33 const; | 32 const; |