diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-06 11:39:06 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-07 11:02:18 +0900 |
commit | 4243c1195d662a4e6e0971cef547520ece2c6673 (patch) | |
tree | c2ad6162439ea0d563c5a094be51a756340b33ab /kmines | |
parent | 05581ab8401a949370656e30b27918af89675edc (diff) | |
download | tdegames-4243c1195d662a4e6e0971cef547520ece2c6673.tar.gz tdegames-4243c1195d662a4e6e0971cef547520ece2c6673.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kmines')
-rw-r--r-- | kmines/field.cpp | 6 | ||||
-rw-r--r-- | kmines/status.cpp | 2 |
2 files changed, 4 insertions, 4 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; } } diff --git a/kmines/status.cpp b/kmines/status.cpp index ad5f6ef3..0cc7da39 100644 --- a/kmines/status.cpp +++ b/kmines/status.cpp @@ -239,7 +239,7 @@ void Status::setPlaying() _logRoot = _log.createElement("kmineslog"); _logRoot.setAttribute("version", SHORT_VERSION); TQDateTime date = TQDateTime::currentDateTime(); - _logRoot.setAttribute("date", date.toString(Qt::ISODate)); + _logRoot.setAttribute("date", date.toString(TQt::ISODate)); _logRoot.setAttribute("width", level.width()); _logRoot.setAttribute("height", level.height()); _logRoot.setAttribute("mines", level.nbMines()); |