Drop TQT_TQ*_OBJECT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/15/head
Michele Calgaro 1 year ago
parent af97112a1a
commit 809cae7dcd
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -685,7 +685,7 @@ bool KColorCombo2::eventFilter(TQObject */*object*/, TQEvent *event)
case TQEvent::MouseButtonDblClick:
case TQEvent::MouseButtonPress:
mouseEvent = (TQMouseEvent*)event;
if ( !TQT_TQRECT_OBJECT(m_popup->rect()).contains(mouseEvent->pos()) ) {
if ( !m_popup->rect().contains(mouseEvent->pos()) ) {
TQPoint globalPos = m_popup->mapToGlobal(mouseEvent->pos());
if (TQApplication::widgetAt(globalPos, /*child=*/true) == this) {
// The popup is being closed by a click on the KColorCombo2 widget.

@ -301,7 +301,7 @@ void SystemTray::mouseReleaseEvent(TQMouseEvent *event)
{
m_canDrag = false;
if (event->button() == Qt::LeftButton) // Show / hide main window
if ( TQT_TQRECT_OBJECT(rect()).contains(event->pos()) ) { // Accept only if released in systemTray
if ( rect().contains(event->pos()) ) { // Accept only if released in systemTray
toggleActive();
emit showPart();
event->accept();

Loading…
Cancel
Save