Drop TQT_TQ*_OBJECT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/52/head
Michele Calgaro 1 year ago
parent 1c73e70c56
commit 214a5ef176
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -132,7 +132,7 @@ namespace KPF
break;
}
if (!TQT_TQRECT_OBJECT(rect()).contains(e->pos()))
if (!rect().contains(e->pos()))
{
break;
}

@ -124,7 +124,7 @@ void TrayIcon::setDesktopControlSetting(bool b) {
void TrayIcon::mousePressEvent(TQMouseEvent *e)
{
if (!TQT_TQRECT_OBJECT(rect()).contains(e->pos()))
if (!rect().contains(e->pos()))
return;
if (e->button() == Qt::LeftButton) {

Loading…
Cancel
Save