Drop TQT_TQ*_OBJECT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/20/head
Michele Calgaro 9 months ago
parent bc6061ff9e
commit bfbab5a5ea
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1434,7 +1434,7 @@ bool KBgBoard::moveOffPossible() const
KBgBoardCell* KBgBoard::getCellByPos(const TQPoint& p) const KBgBoardCell* KBgBoard::getCellByPos(const TQPoint& p) const
{ {
for (int i = 0; i < 30; ++i) { for (int i = 0; i < 30; ++i) {
if (TQT_TQRECT_OBJECT(cells[i]->rect()).contains(cells[i]->mapFromParent(p))) if (cells[i]->rect().contains(cells[i]->mapFromParent(p)))
return cells[i]; return cells[i];
} }
return NULL; return NULL;

Loading…
Cancel
Save