summaryrefslogtreecommitdiffstats
path: root/kbattleship/kbattleship/kbattleshipview.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-06 11:39:06 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-07 11:03:40 +0900
commitafc67225900e0375f32048f4df27f32986704a67 (patch)
tree1fe1cadfa3aef633b34a3a773d111c55f07213d0 /kbattleship/kbattleship/kbattleshipview.cpp
parent0195c436ad939e6c1cde8953a9bff70ccca701e5 (diff)
downloadtdegames-afc67225900e0375f32048f4df27f32986704a67.tar.gz
tdegames-afc67225900e0375f32048f4df27f32986704a67.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 4243c1195d662a4e6e0971cef547520ece2c6673)
Diffstat (limited to 'kbattleship/kbattleship/kbattleshipview.cpp')
-rw-r--r--kbattleship/kbattleship/kbattleshipview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kbattleship/kbattleship/kbattleshipview.cpp b/kbattleship/kbattleship/kbattleshipview.cpp
index 42b699bb..9d77653b 100644
--- a/kbattleship/kbattleship/kbattleshipview.cpp
+++ b/kbattleship/kbattleship/kbattleshipview.cpp
@@ -172,13 +172,13 @@ bool KBattleshipView::eventFilter(TQObject *object, TQEvent *event)
TQMouseEvent *mouseEvent = TQT_TQMOUSEEVENT(event);
- if(mouseEvent->button() == Qt::RightButton){
+ if(mouseEvent->button() == TQt::RightButton){
emit sigMouseOverField(m_lastX, m_lastY);
emit changeShipPlacementDirection();
return true;
}
- if(mouseEvent->button() != Qt::LeftButton)
+ if(mouseEvent->button() != TQt::LeftButton)
return false;
TQPoint point(mouseEvent->x(), mouseEvent->y());