| 749 | } |
| 750 | |
| 751 | QPoint AreaDialog::limitPointToRect(const QPoint &p, const QRect &r) const |
| 752 | { |
| 753 | QPoint q; |
| 754 | q.setX(p.x() < r.x() ? r.x() : p.x() < r.right() ? p.x() : r.right()); |
| 755 | q.setY(p.y() < r.y() ? r.y() : p.y() < r.bottom() ? p.y() : r.bottom()); |
| 756 | return q; |
| 757 | } |
nothing calls this directly
no outgoing calls
no test coverage detected