From b93a9330d8b06f081d4ea3d2d48cdba2b6b2ce46 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 6 Nov 2023 11:39:17 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro --- kruler/klineal.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kruler/klineal.cpp') diff --git a/kruler/klineal.cpp b/kruler/klineal.cpp index 7041fea1..477fc6cf 100644 --- a/kruler/klineal.cpp +++ b/kruler/klineal.cpp @@ -575,15 +575,15 @@ void KLineal::mousePressEvent(TQMouseEvent *inEvent) { TQRect gr = geometry(); mDragOffset = mLastClickPos - TQPoint(gr.left(), gr.top()); - if (inEvent->button() == Qt::LeftButton) { + if (inEvent->button() == TQt::LeftButton) { if (!mDragging) { grabMouse(KCursor::sizeAllCursor()); mDragging = TRUE; } - } else if (inEvent->button() == Qt::MidButton) { + } else if (inEvent->button() == TQt::MidButton) { _clicked = true; turnLeft(); - } else if (inEvent->button() == Qt::RightButton) { + } else if (inEvent->button() == TQt::RightButton) { showMenu(); } } -- cgit v1.2.1