Drop TQT_TQ*_OBJECT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 172024abe6)
r14.1.x
Michele Calgaro 1 year ago
parent 107ab7796f
commit 2795d5ce0a
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -577,7 +577,7 @@ void SystemTray::mousePressEvent(TQMouseEvent *e)
KSystemTray::mousePressEvent(e);
break;
case Qt::MidButton:
if(!TQT_TQRECT_OBJECT(rect()).contains(e->pos()))
if(!rect().contains(e->pos()))
return;
if(action("pause")->isEnabled())
action("pause")->activate();

@ -68,7 +68,7 @@ void WaButton::mouseReleaseEvent(TQMouseEvent* e) {
else {
pressed = false;
if (TQT_TQRECT_OBJECT(this->rect()).contains(e->pos())){
if (this->rect().contains(e->pos())){
if (_togglable) {
_toggled = !_toggled;
emit(toggleEvent(_toggled));

Loading…
Cancel
Save