diff options
author | Michele Calgaro <[email protected]> | 2023-11-06 11:39:06 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-07 11:03:40 +0900 |
commit | afc67225900e0375f32048f4df27f32986704a67 (patch) | |
tree | 1fe1cadfa3aef633b34a3a773d111c55f07213d0 /kmines/field.cpp | |
parent | 0195c436ad939e6c1cde8953a9bff70ccca701e5 (diff) | |
download | tdegames-afc67225900e0375f32048f4df27f32986704a67.tar.gz tdegames-afc67225900e0375f32048f4df27f32986704a67.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 4243c1195d662a4e6e0971cef547520ece2c6673)
Diffstat (limited to 'kmines/field.cpp')
-rw-r--r-- | kmines/field.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kmines/field.cpp b/kmines/field.cpp index 993e1d8f..95d43f9a 100644 --- a/kmines/field.cpp +++ b/kmines/field.cpp @@ -138,9 +138,9 @@ Coord Field::fromPoint(const TQPoint &qp) const int Field::mapMouseButton(TQMouseEvent *e) const { switch (e->button()) { - case Qt::LeftButton: return Settings::mouseAction(Settings::EnumButton::left); - case Qt::MidButton: return Settings::mouseAction(Settings::EnumButton::mid); - case Qt::RightButton: return Settings::mouseAction(Settings::EnumButton::right); + case TQt::LeftButton: return Settings::mouseAction(Settings::EnumButton::left); + case TQt::MidButton: return Settings::mouseAction(Settings::EnumButton::mid); + case TQt::RightButton: return Settings::mouseAction(Settings::EnumButton::right); default: return Settings::EnumMouseAction::ToggleFlag; } } |