Mercurial > projects > qtd
comparison qt/d2/qt/core/QSize.d @ 205:3dadfee97421
D2 fixes
author | eldar |
---|---|
date | Mon, 13 Jul 2009 23:35:23 +0000 |
parents | 7dd099050621 |
children | 463563fc9e17 |
comparison
equal
deleted
inserted
replaced
204:6aeaf24018d7 | 205:3dadfee97421 |
---|---|
32 { return wd<1 || ht<1; } | 32 { return wd<1 || ht<1; } |
33 | 33 |
34 final bool isValid() | 34 final bool isValid() |
35 { return wd>=0 && ht>=0; } | 35 { return wd>=0 && ht>=0; } |
36 | 36 |
37 final int width() | 37 final int width() const |
38 { return wd; } | 38 { return wd; } |
39 | 39 |
40 final int height() | 40 final int height() const |
41 { return ht; } | 41 { return ht; } |
42 | 42 |
43 final void width(int w) | 43 final void width(int w) |
44 { wd = w; } | 44 { wd = w; } |
45 | 45 |