summaryrefslogtreecommitdiffstats
path: root/krdc/vnc
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-09 10:36:57 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-09 10:36:57 +0900
commitb53c83209a6b927b27600899a780db1efc985ecb (patch)
tree5669b200cf24a8e47338ab2054daf3a58264925f /krdc/vnc
parent82b0c5074d73953b9d00fa7b8c17115bb4bc900e (diff)
downloadtdenetwork-b53c83209a6b927b27600899a780db1efc985ecb.tar.gz
tdenetwork-b53c83209a6b927b27600899a780db1efc985ecb.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'krdc/vnc')
-rw-r--r--krdc/vnc/kvncview.cpp12
1 files changed, 6 insertions, 6 deletions
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;
}
}