From 4243c1195d662a4e6e0971cef547520ece2c6673 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 6 Nov 2023 11:39:06 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro --- knetwalk/src/cell.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'knetwalk') diff --git a/knetwalk/src/cell.cpp b/knetwalk/src/cell.cpp index d3ce0906..fd04932d 100644 --- a/knetwalk/src/cell.cpp +++ b/knetwalk/src/cell.cpp @@ -203,11 +203,11 @@ void Cell::paintEvent(TQPaintEvent*) void Cell::mousePressEvent(TQMouseEvent* e) { - if(e->button() == Qt::LeftButton) + if(e->button() == TQt::LeftButton) emit lClicked(iindex); - else if(e->button() == Qt::RightButton) + else if(e->button() == TQt::RightButton) emit rClicked(iindex); - else if(e->button() == Qt::MidButton) + else if(e->button() == TQt::MidButton) emit mClicked(iindex); } -- cgit v1.2.1