Mercurial > projects > qtd
comparison qt/d2/qt/core/QPoint.d @ 205:3dadfee97421
D2 fixes
author | eldar |
---|---|
date | Mon, 13 Jul 2009 23:35:23 +0000 |
parents | 7dd099050621 |
children | 7664de4a55e5 |
comparison
equal
deleted
inserted
replaced
204:6aeaf24018d7 | 205:3dadfee97421 |
---|---|
21 } | 21 } |
22 | 22 |
23 bool isNull() // const | 23 bool isNull() // const |
24 { return xp == 0 && yp == 0; } | 24 { return xp == 0 && yp == 0; } |
25 | 25 |
26 int x() // const | 26 int x() const |
27 { return xp; } | 27 { return xp; } |
28 | 28 |
29 int y() // const | 29 int y() const |
30 { return yp; } | 30 { return yp; } |
31 | 31 |
32 void x(int xpos) | 32 void x(int xpos) |
33 { xp = xpos; } | 33 { xp = xpos; } |
34 | 34 |