From 003f0d8657afce5df445625f200dcc62c60201cc Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 4 Nov 2023 23:08:51 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro --- src/toplevel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/toplevel.cpp b/src/toplevel.cpp index abbff54..b848405 100644 --- a/src/toplevel.cpp +++ b/src/toplevel.cpp @@ -327,10 +327,10 @@ void TopLevel::resizeEvent (TQResizeEvent *) /** Handle mousePressEvent */ void TopLevel::mousePressEvent(TQMouseEvent *event) { - if (event->button() == Qt::LeftButton) { + if (event->button() == TQt::LeftButton) { showTicketList(); } - else if (event->button() == Qt::RightButton) { + else if (event->button() == TQt::RightButton) { updateMenu(); menu->popup(TQCursor::pos()); } -- cgit v1.2.3