From b53c83209a6b927b27600899a780db1efc985ecb Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 9 Nov 2023 10:36:57 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro --- krdc/vnc/kvncview.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'krdc/vnc') diff --git a/krdc/vnc/kvncview.cpp b/krdc/vnc/kvncview.cpp index 3cc22228..d30ea356 100644 --- a/krdc/vnc/kvncview.cpp +++ b/krdc/vnc/kvncview.cpp @@ -542,19 +542,19 @@ void KVncView::mouseEvent(TQMouseEvent *e) { if ( e->type() != TQEvent::MouseMove ) { if ( (e->type() == TQEvent::MouseButtonPress) || (e->type() == TQEvent::MouseButtonDblClick)) { - if ( e->button() & Qt::LeftButton ) + if ( e->button() & TQt::LeftButton ) m_buttonMask |= 0x01; - if ( e->button() & Qt::MidButton ) + if ( e->button() & TQt::MidButton ) m_buttonMask |= 0x02; - if ( e->button() & Qt::RightButton ) + if ( e->button() & TQt::RightButton ) m_buttonMask |= 0x04; } else if ( e->type() == TQEvent::MouseButtonRelease ) { - if ( e->button() & Qt::LeftButton ) + if ( e->button() & TQt::LeftButton ) m_buttonMask &= 0xfe; - if ( e->button() & Qt::MidButton ) + if ( e->button() & TQt::MidButton ) m_buttonMask &= 0xfd; - if ( e->button() & Qt::RightButton ) + if ( e->button() & TQt::RightButton ) m_buttonMask &= 0xfb; } } -- cgit v1.2.1